Add M-C-<Return> binding for tmux-less term to xmonad

This commit is contained in:
Jacob Hinkle 2022-10-03 09:41:54 -04:00
parent 30a08ac634
commit 337a41901f

View File

@ -33,14 +33,21 @@ myConfig = def
, layoutHook = myLayout , layoutHook = myLayout
} }
`additionalKeysP` `additionalKeysP`
-- See below for help defining keymaps
-- https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Util-EZConfig.html#v:mkKeymap
([ ([
-- launch programs -- launch programs
("M-'", spawn "qutebrowser") ("M-'", spawn "qutebrowser")
, ("M-s", spawn "scrot -s") , ("M-s", spawn "scrot -s")
-- launch a terminal _without_ a new tmux session
, ("M-C-<Return>", spawn "kitty")
-- xrandr commands for when (dis)connecting from external monitor -- xrandr commands for when (dis)connecting from external monitor
-- I have temporarily given up on using autorandr fo rthis -- I have temporarily given up on using autorandr fo rthis
, ("M-x", spawn "xrandr --output DP-1 --auto --output eDP-1 --off") -- external , ("M-x", spawn "xrandr --output DP-1 --auto --output eDP-1 --off") -- external
, ("M-c", spawn "xrandr --output eDP-1 --auto --output DP-1 --off") -- laptop only , ("M-c", spawn "xrandr --output eDP-1 --auto --output DP-1 --off") -- laptop only
-- Control monitor brightness
, ("<XF86MonBrightnessUp>", spawn "light -A 10")
, ("<XF86MonBrightnessDown>", spawn "light -U 10")
-- cycle windows within a workspace -- cycle windows within a workspace
, ("M-a", rotAllUp) , ("M-a", rotAllUp)
, ("M-f", rotAllDown) , ("M-f", rotAllDown)