From 46f80b190be8ae6b71dedd056b9099e22ad84e75 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 25 Nov 2021 21:13:36 +0100 Subject: [PATCH] Add shortcut for pcmanfm and lf --- home/.config/xmonad/xmonad.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/.config/xmonad/xmonad.hs b/home/.config/xmonad/xmonad.hs index fb648b1..5be8f3c 100644 --- a/home/.config/xmonad/xmonad.hs +++ b/home/.config/xmonad/xmonad.hs @@ -64,6 +64,8 @@ myModMask = mod4Mask -- Preferred programs myTerminal = "alacritty" myBrowser = "firefox" +myFileManager = "pcmanfm" +myCliFileManager = "lf" -- Preferred font myFont :: String @@ -105,8 +107,10 @@ myKeys = , ("M-S-q", io exitSuccess) -- Quits xmonad -- Programs - , ("M-b", spawn (myBrowser)) , ("M-", spawn (myTerminal)) + , ("M-b", spawn (myBrowser)) + , ("M-v", spawn (myFileManager)) + , ("M-M1-v", spawn (myTerminal ++ " -e " ++ myCliFileManager)) , ("M-M1-h", spawn (myTerminal ++ " -e htop")) , ("M-M1-b", spawn (myTerminal ++ " -e bpytop")) , ("M-M1-p", spawn (myTerminal ++ " -e ipython"))