make fflof use a specific firefox class name
This commit is contained in:
		
							parent
							
								
									2a579a11a4
								
							
						
					
					
						commit
						d1e3d10947
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -25,15 +25,15 @@ if [ $(pgrep -c firefox) -gt 0 ]; then
 | 
				
			||||||
            exit
 | 
					            exit
 | 
				
			||||||
        else
 | 
					        else
 | 
				
			||||||
            # WAYLAND
 | 
					            # WAYLAND
 | 
				
			||||||
            ffrg=$(hyprctl clients | rg firefox)
 | 
					            ffrg=$(hyprctl clients | rg ff)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            ffwin=$(echo $ffrg | sed 's/.*\: //')
 | 
					            ffwin=$(echo $ffrg | sed 's/.*\: //')
 | 
				
			||||||
            # echo $ffwin
 | 
					            # echo $ffwin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            exec hyprctl dispatch focuswindow firefox
 | 
					            exec hyprctl dispatch focuswindow ff
 | 
				
			||||||
            exit
 | 
					            exit
 | 
				
			||||||
        fi
 | 
					        fi
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
    exec firefox
 | 
					    exec firefox --name "ff"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue