From 337a41901fccf4591c5315525a74e6e52d33589c Mon Sep 17 00:00:00 2001 From: Jacob Hinkle Date: Mon, 3 Oct 2022 09:41:54 -0400 Subject: [PATCH] Add M-C- binding for tmux-less term to xmonad --- home/xmonad.hs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/xmonad.hs b/home/xmonad.hs index d1c0c5c..87a5818 100644 --- a/home/xmonad.hs +++ b/home/xmonad.hs @@ -33,14 +33,21 @@ myConfig = def , layoutHook = myLayout } `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 ("M-'", spawn "qutebrowser") , ("M-s", spawn "scrot -s") + -- launch a terminal _without_ a new tmux session + , ("M-C-", spawn "kitty") -- xrandr commands for when (dis)connecting from external monitor -- I have temporarily given up on using autorandr fo rthis , ("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 + -- Control monitor brightness + , ("", spawn "light -A 10") + , ("", spawn "light -U 10") -- cycle windows within a workspace , ("M-a", rotAllUp) , ("M-f", rotAllDown)