diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-06 00:44:47 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-06 00:44:47 +0530 |
commit | 4ca410cb89d44b85bf0ac5413915e35ff460e4d2 (patch) | |
tree | 0daa79794ac6175cf47ebab19d483471315b5cd8 /.config/XMonad/lib/Keybindings.hs | |
parent | 7f286b2a73f05f43f2d42b7f5be2cb7e43fd4118 (diff) |
added betterlockscreen
Diffstat (limited to '.config/XMonad/lib/Keybindings.hs')
-rw-r--r-- | .config/XMonad/lib/Keybindings.hs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.config/XMonad/lib/Keybindings.hs b/.config/XMonad/lib/Keybindings.hs index 672e286..7e65e81 100644 --- a/.config/XMonad/lib/Keybindings.hs +++ b/.config/XMonad/lib/Keybindings.hs @@ -43,6 +43,7 @@ myMouseKeybindings = [ myKeybindings :: [((KeyMask, KeySym), X ())] myKeybindings = [ ((myModMask, xK_Return), spawn myTerminal) + , ((myModShiftMask, xK_Return), spawn myLockscreen) , ((myModMask .|. shiftMask, xK_q), kill1) , ((myModShiftMask, xK_p), spawn myLauncher) @@ -66,10 +67,10 @@ myKeybindings = [ , ((myModMask .|. shiftMask, xK_minus), spawn backlightDown) -- modify gaps on runtime - , ((myModMask, xK_F2), incWindowSpacing 1) - , ((myModMask, xK_F1), decWindowSpacing 1) - , ((myModMask .|. shiftMask, xK_F2), incScreenSpacing 1) - , ((myModMask .|. shiftMask, xK_F1), decScreenSpacing 1) + -- , ((myModMask, xK_F2), incWindowSpacing 1) + -- , ((myModMask, xK_F1), decWindowSpacing 1) + -- , ((myModMask .|. shiftMask, xK_F2), incScreenSpacing 1) + -- , ((myModMask .|. shiftMask, xK_F1), decScreenSpacing 1) -- view prev/next workspaces , ((myModShiftMask, xK_Tab ), prevWS) @@ -169,6 +170,8 @@ myKeybindingsP = [ , ("M-a m", spawn volMute) , ("M-a p", spawn pausePlay) , ("M-a d", myScratchpad "arandr") + , ("M-a r", spawn "screenrefresh") + , ("M-a S-r", spawn "screenrefresh -b") -- media , ("M-m w", myScratchpad "wallpaper") , ("M-S-x", myScratchpad "wallpaper") |