aboutsummaryrefslogtreecommitdiff
path: root/gui/conf
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-07-07 17:31:10 +0200
committerAdrian Kummerlaender2018-07-07 17:31:10 +0200
commit7696a056cb69649eae83eeea0bfa53575a1f405d (patch)
tree1808e42ace0af70f1a62e2f02cc428bf996852d7 /gui/conf
parent76cb1ea2e2c8a7100e8d6086cb721a3a737c6993 (diff)
downloadnixos_home-7696a056cb69649eae83eeea0bfa53575a1f405d.tar
nixos_home-7696a056cb69649eae83eeea0bfa53575a1f405d.tar.gz
nixos_home-7696a056cb69649eae83eeea0bfa53575a1f405d.tar.bz2
nixos_home-7696a056cb69649eae83eeea0bfa53575a1f405d.tar.lz
nixos_home-7696a056cb69649eae83eeea0bfa53575a1f405d.tar.xz
nixos_home-7696a056cb69649eae83eeea0bfa53575a1f405d.tar.zst
nixos_home-7696a056cb69649eae83eeea0bfa53575a1f405d.zip
Setup twmn for displaying notifications
Diffstat (limited to 'gui/conf')
-rw-r--r--gui/conf/xmonad.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index 9354c6d..cab108a 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -121,6 +121,9 @@ customKeybindings =
, ("M-w S-k" , withFocused $ placeFloating dropDownLarge)
, ("M-w h" , withFocused $ placeFloating sideBarLeft)
, ("M-w l" , withFocused $ placeFloating sideBarRight)
+-- system information
+ , ("M-i t" , spawn "notify-send \"`date +%T`\" \"`date +\"%Y-%m-%d\"`\"")
+ , ("M-i b" , spawn "notify-send Battery \"`acpi | cut -c 10-`\"")
-- system control
, ("M-c <Up>" , spawn "amixer sset Master 10%+")
, ("M-c <Down>" , spawn "amixer sset Master 10%-")