From 6ddf28a7c9c04616018edef64d4b3571a5613f56 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Tue, 4 Jun 2024 13:25:46 +0200 Subject: [PATCH] Add rofi keybindings to XMonad --- .xmonad/xmonad.hs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 1900f6f..bfc0bb0 100644 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -197,6 +197,8 @@ myKeys = ("", spawnKeepassXC), ("M-z", spawnZettelkasten), ("M-p", spawnLauncher), + ("M-w", spawnWindowSwitcher), + ("M-S-w", spawnWifiMenu), ("", pasteSelection), ("", printScreen), ("", 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}'"