From 9795fbffee674d345b75141775b9521351fa9312 Mon Sep 17 00:00:00 2001 From: Daniele Fucini Date: Thu, 2 May 2024 13:38:38 +0200 Subject: [PATCH] Update XMonad config --- .config/xmobar/xmobarrc_hdmi | 2 +- .config/xmobar/xmobarrc_laptop | 2 +- .config/xmonad/xmonad.hs | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.config/xmobar/xmobarrc_hdmi b/.config/xmobar/xmobarrc_hdmi index 2acccc2..ef237f1 100644 --- a/.config/xmobar/xmobarrc_hdmi +++ b/.config/xmobar/xmobarrc_hdmi @@ -9,7 +9,7 @@ Config { overrideRedirect = False , pickBroadest = True , commands = [ Run Weather "LZIB" [ "--template", " °C" - , "-L", "0" + , "-L", "5" , "-H", "25" , "--low" , "#8caaee" , "--normal" , "#a6d189" diff --git a/.config/xmobar/xmobarrc_laptop b/.config/xmobar/xmobarrc_laptop index 0a1dc30..b2ed02d 100644 --- a/.config/xmobar/xmobarrc_laptop +++ b/.config/xmobar/xmobarrc_laptop @@ -9,7 +9,7 @@ Config { overrideRedirect = False , pickBroadest = True , commands = [ Run Weather "LZIB" [ "--template", " °C" - , "-L", "0" + , "-L", "5" , "-H", "25" , "--low" , "#8caaee" , "--normal" , "#a6d189" diff --git a/.config/xmonad/xmonad.hs b/.config/xmonad/xmonad.hs index 7a2cc19..ca94104 100644 --- a/.config/xmonad/xmonad.hs +++ b/.config/xmonad/xmonad.hs @@ -108,6 +108,8 @@ myConfig = def , ("M-s" , spawn $ "setxkbmap" ++ myKeyboardLayoutSK ) , ("M-S-v" , namedScratchpadAction myScratchpads "Windscribe" ) , ("M-S-s" , namedScratchpadAction myScratchpads "Terminal" ) + , ("M-x" , spawn "bluetoothctl connect E8:EE:CC:3E:A6:0D" ) + , ("M-S-x" , spawn "bluetoothctl disconnect E8:EE:CC:3E:A6:0D" ) ] `additionalKeys` [ ((0, xF86XK_AudioMute) , spawn "pactl set-sink-mute $(pactl get-default-sink) toggle" ) @@ -200,13 +202,14 @@ myStartupHook = do myManageHook :: ManageHook myManageHook = composeAll [ className =? "Gpodder" --> doShift "5:\xead9 " + , className =? "MuPDF" --> doShift "6:\xeb69 " , className =? "Qalculate-gtk" --> doFloat , className =? "Signal" --> doShift "4:\xf10b " + , className =? "Spotify" --> doShift "5:\xead9 " + , className =? "Viewnior" --> doFloat , className =? "Vivaldi-stable" --> doShift "2:\xe743 " , className =? "Xmessage" --> doFloat - , className =? "Xreader" --> doShift "6:\xeb69 " , className =? "Xscreensaver-settings" --> doFloat - , className =? "Xviewer" --> doFloat , className =? "calibre" --> doShift "6:\xeb69 " , className =? "discord" --> doShift "4:\xf10b " , className =? "feh" --> doFloat