From 4ca410cb89d44b85bf0ac5413915e35ff460e4d2 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 6 Nov 2023 00:44:47 +0530 Subject: added betterlockscreen --- .config/XMonad/lib/Keybindings.hs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to '.config/XMonad/lib/Keybindings.hs') 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") -- cgit v1.2.3