aboutsummaryrefslogtreecommitdiff
path: root/config/xmonad
diff options
context:
space:
mode:
Diffstat (limited to 'config/xmonad')
-rw-r--r--config/xmonad/xmonad.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/xmonad/xmonad.hs b/config/xmonad/xmonad.hs
index f71ce1d..d285569 100644
--- a/config/xmonad/xmonad.hs
+++ b/config/xmonad/xmonad.hs
@@ -65,7 +65,9 @@ keys' = [ ("<XF86AudioLowerVolume>", spawn "pulseaudio-ctl down")
, ("M-i", spawn $ myTerminal ++ " -e zsh -c 'source ~/.config/zsh/.zshrc && rc'")
, ("M-m", spawn $ myTerminal ++ " -e mocp -C /home/cacharle/.config/moc/config")
, ("M-S-d", spawn "notify-send -i x-office-calendar \"$(date +\"%H:%M %A %d/%m/%Y %B\")\"")
- , ("M-S-b", spawn "notify-send --hint=int:transient:1 --hint=int:value:\"$(cat /sys/class/power_supply/BAT0/capacity)\" \"Battery\"")
+ , ("M-S-b", spawn $ "notify-send --hint=int:transient:1 " ++
+ "--hint=int:value:\"$(cat /sys/class/power_supply/BAT0/capacity)\" " ++
+ "\"Battery: $(cat /sys/class/power_supply/BAT0/status)\"")
, ("M-q", spawn "notify-send 'Restarting xmonad'" >> spawn restartCmd)
, ("M-S-q", confirm "Are you sure you want to shutdown?" $ io (exitWith ExitSuccess))
]