Add rofi keybindings to XMonad
							parent
							
								
									2f4ed6cc51
								
							
						
					
					
						commit
						5a29b672a2
					
				| 
						 | 
				
			
			@ -197,6 +197,8 @@ myKeys =
 | 
			
		|||
    ("<F8>",  spawnKeepassXC),
 | 
			
		||||
    ("M-z",   spawnZettelkasten),
 | 
			
		||||
    ("M-p",   spawnLauncher),
 | 
			
		||||
    ("M-w", spawnWindowSwitcher),
 | 
			
		||||
    ("M-S-w", spawnWifiMenu),
 | 
			
		||||
    ("<Insert>", pasteSelection),
 | 
			
		||||
    ("<Print>", printScreen),
 | 
			
		||||
    ("<XF86AudioRaiseVolume>", raiseVol),       -- Audio volume & playback
 | 
			
		||||
| 
						 | 
				
			
			@ -260,6 +262,9 @@ spawnKeepassXC = spawn "keepassxc"
 | 
			
		|||
fullscreenBrowser :: X ()
 | 
			
		||||
fullscreenBrowser = spawn "firefox --fullscreen"
 | 
			
		||||
 | 
			
		||||
spawnWindowSwitcher = spawn "rofi -show window -show-icons"
 | 
			
		||||
spawnWifiMenu = spawn "rofi -show wifi -modi \"wifi:iwdrofimenu\""
 | 
			
		||||
 | 
			
		||||
spawnLauncher, spawnClipManager, spawnCalculator :: X ()
 | 
			
		||||
spawnLauncher = spawn "rofi -show drun -show-icons"
 | 
			
		||||
spawnClipManager = spawn "rofi -modi 'clipboard:greenclip print' -show clipboard -run-command '{cmd}'"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue