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