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