Made terminal name dynamic to open nm-tui

This commit is contained in:
afonsofrancof 2022-10-16 20:31:41 +01:00
parent 61b48152eb
commit 4e9835653a

View file

@ -87,6 +87,7 @@ myKeys =
--Screenshot --Screenshot
, ("<Print>", spawn "flameshot screen") , ("<Print>", spawn "flameshot screen")
, ("S-<Print>", spawn "flameshot gui") , ("S-<Print>", spawn "flameshot gui")
--AUDIO CONTROLS --AUDIO CONTROLS
, ("<XF86AudioMute>", spawn "pamixer set --toggle-mute") , ("<XF86AudioMute>", spawn "pamixer set --toggle-mute")
, ("<XF86AudioLowerVolume>", spawn "pamixer -d 5") , ("<XF86AudioLowerVolume>", spawn "pamixer -d 5")
@ -99,8 +100,8 @@ myKeys =
--CHANGE KEYBOARD LAYOUT --CHANGE KEYBOARD LAYOUT
,("M-<Space>", spawn "/bin/bash /home/afonso/.config/xmonad/change-kb.sh") ,("M-<Space>", spawn "/bin/bash /home/afonso/.config/xmonad/change-kb.sh")
--brightness controls --network manager
,("M-n", spawn "kitty -e nmtui") ,("M-n", spawn $ myTerminal ++ " -e nmtui")
-- close focused window -- close focused window
, ("M-q", kill) , ("M-q", kill)