Add shortcut for clipmenu

This commit is contained in:
ItsDrike 2022-03-09 22:09:09 +01:00
parent 1c2b7cac0d
commit db457909c3
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

@ -109,14 +109,15 @@ myKeys =
-- Programs -- Programs
, ("M-<Return>", spawn (myTerminal)) , ("M-<Return>", spawn (myTerminal))
, ("M-b", spawn (myBrowser)) , ("M-b", spawn (myBrowser))
, ("M-v", spawn (myFileManager)) , ("M-x", spawn (myFileManager))
, ("M-M1-v", spawn (myTerminal ++ " -e " ++ myCliFileManager)) , ("M-M1-v", spawn (myTerminal ++ " -e " ++ myCliFileManager))
, ("M-M1-h", spawn (myTerminal ++ " -e htop")) , ("M-M1-h", spawn (myTerminal ++ " -e htop"))
, ("M-M1-b", spawn (myTerminal ++ " -e bpytop")) , ("M-M1-b", spawn (myTerminal ++ " -e bpytop"))
, ("M-M1-p", spawn (myTerminal ++ " -e ipython")) , ("M-M1-p", spawn (myTerminal ++ " -e ipython"))
-- Dmenu -- Dmenu
, ("M-S-<Return>", spawn "dmenu_run -i -p \"Run: \"") , ("M-S-<Return>", spawn "dmenu_run -i -p \"Run: \"") -- Launch dmenu to execute command
, ("M-v", spawn "clipmenu") -- Clipboard manager with dmenu
-- Screenshots -- Screenshots
, ("<Print>", spawn "flameshot gui") , ("<Print>", spawn "flameshot gui")
@ -131,15 +132,22 @@ myKeys =
, ("M-S-d", spawn "displayselect") -- Set display configurations , ("M-S-d", spawn "displayselect") -- Set display configurations
, ("M-C-l", spawn "lockscreen lock") -- Lock the screen , ("M-C-l", spawn "lockscreen lock") -- Lock the screen
, ("M-C-S-l", spawn "lockscreen toggle") -- Toggle automatic locking , ("M-C-S-l", spawn "lockscreen toggle") -- Toggle automatic locking
, ("M-S-l", spawn "swap-kblayout") -- Swap keyboard layout
-- Kill windows -- Kill windows
, ("M-w", kill1) -- Kill the currently focused client , ("M-w", kill1) -- Kill the currently focused client
, ("M-S-w", killAll) -- Kill all windows on current workspace , ("M-S-w", killAll) -- Kill all windows on current workspace
-- Compositor -- Compositor
, ("M-C-x", spawn "picom -b") -- Run picom compositor , ("M-C-x", spawn "picom -b --experimental-backends") -- Run picom compositor
, ("M-S-x", spawn "killall picom") -- Kill picom compositor , ("M-S-x", spawn "killall picom") -- Kill picom compositor
-- Dunst notifications
, ("C-A-<Space>", spawn "dunstctl context") -- Show context menu with multiple actions
, ("C-<Space>", spawn "dunstctl close") -- Close topmost notification
, ("C-S-<Space>", spawn "dunstctl close-all") -- Close all notifications
, ("C-S-`", spawn "dunstctl history-pop") -- Show last notification
-- Workspaces -- Workspaces
, ("M-.", nextScreen) -- Switch focus to next monitor , ("M-.", nextScreen) -- Switch focus to next monitor
, ("M-,", prevScreen) -- Switch focus to prev monitor , ("M-,", prevScreen) -- Switch focus to prev monitor
@ -383,7 +391,8 @@ main = do
, startupHook = myStartupHook , startupHook = myStartupHook
, manageHook = myManageHook <+> manageDocks , manageHook = myManageHook <+> manageDocks
, handleEventHook = docksEventHook , handleEventHook = docksEventHook
, layoutHook = showWName' myShowWNameTheme $ myLayoutHook --, layoutHook = showWName' myShowWNameTheme $ myLayoutHook
, layoutHook = myLayoutHook
, borderWidth = myBorderWidth , borderWidth = myBorderWidth
, normalBorderColor = myNormalBorderColor , normalBorderColor = myNormalBorderColor
, focusedBorderColor = myFocusedBorderColor , focusedBorderColor = myFocusedBorderColor