diff options
Diffstat (limited to 'accounts/gkleen@sif/xmonad/xmonad.hs')
-rw-r--r-- | accounts/gkleen@sif/xmonad/xmonad.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/xmonad/xmonad.hs b/accounts/gkleen@sif/xmonad/xmonad.hs index 906cc663..326749c9 100644 --- a/accounts/gkleen@sif/xmonad/xmonad.hs +++ b/accounts/gkleen@sif/xmonad/xmonad.hs | |||
@@ -24,6 +24,7 @@ import XMonad.Prompt | |||
24 | import XMonad.Prompt.Input | 24 | import XMonad.Prompt.Input |
25 | import XMonad.Util.Scratchpad | 25 | import XMonad.Util.Scratchpad |
26 | import XMonad.Util.NamedScratchpad | 26 | import XMonad.Util.NamedScratchpad |
27 | import XMonad.Util.Ungrab | ||
27 | import Control.Monad (sequence, liftM, liftM2, join, void) | 28 | import Control.Monad (sequence, liftM, liftM2, join, void) |
28 | import XMonad.Util.WorkspaceCompare | 29 | import XMonad.Util.WorkspaceCompare |
29 | import XMonad.Layout.NoBorders | 30 | import XMonad.Layout.NoBorders |
@@ -867,6 +868,11 @@ myKeys' conf host = Map.fromList $ | |||
867 | , ((0, xF86XK_AudioPause), mediaMpv $ MpvSetProperty "pause" False) | 868 | , ((0, xF86XK_AudioPause), mediaMpv $ MpvSetProperty "pause" False) |
868 | , ((0, {-xF86XK_AudioMicMute-} 269025202), safeSpawn "pulseaudio-ctl" ["mute-input"]) | 869 | , ((0, {-xF86XK_AudioMicMute-} 269025202), safeSpawn "pulseaudio-ctl" ["mute-input"]) |
869 | , ((0, xF86XK_AudioPlay), mediaMpvTogglePause) | 870 | , ((0, xF86XK_AudioPlay), mediaMpvTogglePause) |
871 | , ((0, xK_Print), do | ||
872 | home <- liftIO getHomeDirectory | ||
873 | unGrab | ||
874 | safeSpawn "scrot" ["-s", "-F", home </> "screenshots" </> "%Y-%m-%dT%H:%M:%S.png", "-e", "xclip -selection clipboard -t image/png -i $f"] | ||
875 | ) | ||
870 | , ((modm .|. mod1Mask, xK_space), mediaMpvTogglePause) | 876 | , ((modm .|. mod1Mask, xK_space), mediaMpvTogglePause) |
871 | 877 | ||
872 | -- , ((0, xF86XK_MonBrightnessDown), backlight . cycleThrough $ reverse brCycle) | 878 | -- , ((0, xF86XK_MonBrightnessDown), backlight . cycleThrough $ reverse brCycle) |