mirror of
				https://github.com/Stunkymonkey/dotfiles.git
				synced 2025-10-31 02:12:10 +01:00 
			
		
		
		
	Let albert toggle when invoking
In some occasions, albert loses focus, but does not close itself. By then, it's still visible and the "show" command does not work. If this occurs, toggle behaves better, as albert will disappear on the first execution and appear **with** focus on the second one. "show" would do nothing and you would have grab your mouse to focus albert again. For the normal use case, "toggle" and "show" work the same.
This commit is contained in:
		
							parent
							
								
									62cff77bc0
								
							
						
					
					
						commit
						8100b28206
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -114,8 +114,8 @@ bindsym $mod+z exec ~/.local/bin/lockscreen -fl | |||
| bindsym $mod+y exec ~/.local/bin/lockscreen -fl | ||||
| 
 | ||||
| # start dmenu (a program launcher) | ||||
| bindsym $mod+x exec --no-startup-id i3-dmenu-desktop --entry-type=command | ||||
| bindsym $mod+d exec --no-startup-id albert && albert show | ||||
| bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop --entry-type=command | ||||
| bindsym $mod+d exec --no-startup-id albert toggle || albert | ||||
| 
 | ||||
| # kill focused window | ||||
| bindsym $mod+Shift+q kill | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benedikt Heine
						Benedikt Heine