summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-07-03 19:30:39 -0500
committerChristian <[email protected]>2026-07-03 19:30:39 -0500
commit8c347e7bd03fdae3cd7ecf2d559c9aef377ebf6e (patch)
treef20d2fd1a1b5292a09548f7e8677400de6da819e
parent459e0c385b11937d190f3a536d6b9dbbbe9de122 (diff)
Screenshotting
-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