From 3a77c2a5c31f34fabf70b8c2a31303b0ba0b0bcd Mon Sep 17 00:00:00 2001 From: Daniele Fucini Date: Fri, 29 Mar 2024 20:19:30 +0100 Subject: [PATCH] Update XMonad config, add keymap shortcuts --- .config/xmonad/xmonad.hs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.config/xmonad/xmonad.hs b/.config/xmonad/xmonad.hs index 67c7504..1f951b4 100644 --- a/.config/xmonad/xmonad.hs +++ b/.config/xmonad/xmonad.hs @@ -62,11 +62,14 @@ myConfig = def , manageHook = myManageHook } `additionalKeysP` - [ ("M-S-l" , spawn "slock" ) - , ("M-" , unGrab *> spawn "gnome-screenshot -i" ) - , ("M-d" , spawn "dmenu_run" ) - , ("M-p" , spawn "passmenu -i" ) - , ("M-f" , sendMessage $ JumpToLayout "Tabbed" ) + [ ("M-S-l" , spawn "slock" ) + , ("M-" , unGrab *> spawn "gnome-screenshot -i" ) + , ("M-d" , spawn "dmenu_run" ) + , ("M-p" , spawn "passmenu -i" ) + , ("M-f" , sendMessage $ JumpToLayout "Tabbed" ) + , ("M-i" , spawn "setxkbmap -layout it,us,sk -variant ,,qwerty" ) + , ("M-u" , spawn "setxkbmap -layout us,it,sk -variant ,,qwerty" ) + , ("M-s" , spawn "setxkbmap -layout sk,it,us -variant qwerty,," ) ] `additionalKeys` [ ((0, xF86XK_AudioMute) , spawn "pactl set-sink-mute $(pactl get-default-sink) toggle" )