summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/home/christian.nix1
-rw-r--r--modules/xmonad.hs3
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/home/christian.nix b/modules/home/christian.nix
index 0015de1..16aef42 100644
--- a/modules/home/christian.nix
+++ b/modules/home/christian.nix
@@ -23,6 +23,7 @@
git
wget
xclip
+ maim
hexyl
calibre
];
diff --git a/modules/xmonad.hs b/modules/xmonad.hs
index 25abf53..a55cd28 100644
--- a/modules/xmonad.hs
+++ b/modules/xmonad.hs
@@ -26,7 +26,8 @@ myConfig = defaultConfig
, startupHook = spawnOnce "wmname LG3D" }
`additionalKeys`
[ ( (mod1Mask, xK_q), restart "xmonad" True )
- , ( (mod1Mask, xK_f), sendMessage ToggleStruts ) ]
+ , ( (mod1Mask, xK_f), sendMessage ToggleStruts )
+ , ( (mod1Mask, xK_s), spawn "maim -s | xclip -selection clipboard -t image/png" ) ]
mySB = statusBarProp "xmobar" (pure xmobarPP { ppTitle = const "" })
-- main = xmonad $ withEasySB mySB defToggleStrutsKey def