l xmonad: paste on shift+f12
This commit is contained in:
parent
23f4065929
commit
f33b7b1c80
@ -53,6 +53,7 @@ import XMonad.Util.EZConfig (additionalKeysP)
|
|||||||
import XMonad.Util.NamedWindows (getName)
|
import XMonad.Util.NamedWindows (getName)
|
||||||
import XMonad.Util.Run (safeSpawn)
|
import XMonad.Util.Run (safeSpawn)
|
||||||
import XMonad.Util.Ungrab (unGrab)
|
import XMonad.Util.Ungrab (unGrab)
|
||||||
|
import XMonad.Util.Paste (pasteSelection)
|
||||||
|
|
||||||
data LibNotifyUrgencyHook = LibNotifyUrgencyHook deriving (Read, Show)
|
data LibNotifyUrgencyHook = LibNotifyUrgencyHook deriving (Read, Show)
|
||||||
|
|
||||||
@ -177,13 +178,13 @@ myKeyMap =
|
|||||||
, ("M4-<F10>", spawn "${pkgs.redshift}/bin/redshift -x")
|
, ("M4-<F10>", spawn "${pkgs.redshift}/bin/redshift -x")
|
||||||
|
|
||||||
, ("M4-<F11>", spawn "${config.lass.screenlock.command}")
|
, ("M4-<F11>", spawn "${config.lass.screenlock.command}")
|
||||||
, ("M4-<F12>", spawn "${pkgs.systemd}/bin/systemctl suspend -i")
|
|
||||||
|
|
||||||
, ("M4-u", spawn "${pkgs.xcalib}/bin/xcalib -invert -alter")
|
, ("M4-u", spawn "${pkgs.xcalib}/bin/xcalib -invert -alter")
|
||||||
, ("M4-y", spawn "/run/current-system/sw/bin/switch-theme toggle")
|
, ("M4-y", spawn "/run/current-system/sw/bin/switch-theme toggle")
|
||||||
|
|
||||||
, ("M4-s", spawn "${pkgs.knav}/bin/knav")
|
, ("M4-s", spawn "${pkgs.knav}/bin/knav")
|
||||||
, ("M4-i", spawn "/run/current-system/sw/bin/screenshot")
|
, ("M4-i", spawn "/run/current-system/sw/bin/screenshot")
|
||||||
|
, ("S-<F12>", pasteSelection)
|
||||||
|
|
||||||
--, ("M4-w", screenWorkspace 0 >>= (windows . W.greedyView))
|
--, ("M4-w", screenWorkspace 0 >>= (windows . W.greedyView))
|
||||||
--, ("M4-e", screenWorkspace 1 >>= (windows . W.greedyView))
|
--, ("M4-e", screenWorkspace 1 >>= (windows . W.greedyView))
|
||||||
|
Loading…
Reference in New Issue
Block a user