summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-11-17 22:12:53 +0059
committerGregor Kleen <gkleen@yggdrasil.li>2021-11-17 22:12:53 +0059
commit7be70764b5554e285c599523e6b45014cf1638fb (patch)
treeba3aac8624e9a8644d4d8c94cc7a75f26a71d2f0
parente76a654ce960d190c53339f2290906b6736dee60 (diff)
downloadnixos-7be70764b5554e285c599523e6b45014cf1638fb.tar
nixos-7be70764b5554e285c599523e6b45014cf1638fb.tar.gz
nixos-7be70764b5554e285c599523e6b45014cf1638fb.tar.bz2
nixos-7be70764b5554e285c599523e6b45014cf1638fb.tar.xz
nixos-7be70764b5554e285c599523e6b45014cf1638fb.zip
gkleen@sif: move dunst keybinds into xmonad
-rw-r--r--accounts/gkleen@sif/dunst-settings.nix14
-rw-r--r--accounts/gkleen@sif/xmonad/xmonad.hs4
2 files changed, 12 insertions, 6 deletions
diff --git a/accounts/gkleen@sif/dunst-settings.nix b/accounts/gkleen@sif/dunst-settings.nix
index 8abdfc5a..14d6fd47 100644
--- a/accounts/gkleen@sif/dunst-settings.nix
+++ b/accounts/gkleen@sif/dunst-settings.nix
@@ -24,17 +24,19 @@
24 show_age_threshold = 15; 24 show_age_threshold = 15;
25 show_indicators = false; 25 show_indicators = false;
26 icon_position = "right"; 26 icon_position = "right";
27 min_icon_size = 35;
28 max_icon_size = 35;
27 sort = false; 29 sort = false;
28 sticky_history = false; 30 sticky_history = false;
29 31
30 dmenu = "${pkgs.dmenu}/bin/dmenu"; 32 dmenu = "${pkgs.dmenu}/bin/dmenu";
31 }; 33 };
32 shortcuts = { 34 # shortcuts = {
33 close = "ctrl+space"; 35 # close = "ctrl+space";
34 close_all = "ctrl+shift+space"; 36 # close_all = "ctrl+shift+space";
35 history = "ctrl+comma"; 37 # history = "ctrl+comma";
36 context = "ctrl+period"; 38 # context = "ctrl+period";
37 }; 39 # };
38 urgency_low = { 40 urgency_low = {
39 background = "#000000"; 41 background = "#000000";
40 foreground = "#999999"; 42 foreground = "#999999";
diff --git a/accounts/gkleen@sif/xmonad/xmonad.hs b/accounts/gkleen@sif/xmonad/xmonad.hs
index 4eb91d71..5703f577 100644
--- a/accounts/gkleen@sif/xmonad/xmonad.hs
+++ b/accounts/gkleen@sif/xmonad/xmonad.hs
@@ -267,6 +267,10 @@ hostFromName h
267 , ((XMonad.modMask conf .|. mod1Mask, xK_Down), rotate D) 267 , ((XMonad.modMask conf .|. mod1Mask, xK_Down), rotate D)
268 , ((XMonad.modMask conf .|. mod1Mask, xK_Left), rotate L) 268 , ((XMonad.modMask conf .|. mod1Mask, xK_Left), rotate L)
269 , ((XMonad.modMask conf .|. mod1Mask, xK_Right), rotate R) 269 , ((XMonad.modMask conf .|. mod1Mask, xK_Right), rotate R)
270 , ((controlMask, xK_space ), "dunst close" )
271 , ((controlMask .|. shiftMask, xK_space ), "dunst close-all" )
272 , ((controlMask, xK_period), "dunst context" )
273 , ((controlMask, xK_comma ), "dunst history-pop")
270 -- , ((XMonad.modMask conf .|. shiftMask, xK_a), startMute "hel") 274 -- , ((XMonad.modMask conf .|. shiftMask, xK_a), startMute "hel")
271 ] ) 275 ] )
272 , hKeyUpKeys = \conf -> Map.fromList [ -- ((XMonad.modMask conf .|. shiftMask, xK_a), stopMute "hel") 276 , hKeyUpKeys = \conf -> Map.fromList [ -- ((XMonad.modMask conf .|. shiftMask, xK_a), stopMute "hel")