diff --git a/.config/qtile/README.md b/.config/qtile/README.md index 35e16ba..7eedc92 100755 --- a/.config/qtile/README.md +++ b/.config/qtile/README.md @@ -23,7 +23,7 @@ keybindings consistent with all of my window managers. | Keybinding | Action | | :--- | :--- | -| `MODKEY + RETURN` | opens terminal (st is the terminal but can be easily changed) | +| `MODKEY + RETURN` | opens terminal (alacritty is the terminal but can be easily changed) | | `MODKEY + SHIFT + RETURN` | opens run launcher (dmenu is the run launcher but can be easily changed) | | `MODKEY + TAB` | rotates through the available layouts | | `MODKEY + SHIFT + c` | closes window with focus | @@ -33,8 +33,8 @@ keybindings consistent with all of my window managers. | `MODKEY + k` | lazy layout down (switches focus between windows in the stack) | | `MODKEY + SHIFT + j` | lazy layout shuffle_up (rotates the windows in the stack) | | `MODKEY + SHIFT + k` | lazy layout shuffle_down (rotates the windows in the stack) | -| `MODKEY + SHIFT + h` | Shrink size of window (MondadTall layout) | -| `MODKEY + SHIFT + l` | Shrink size of window (MondadTall layout) | +| `MODKEY + h` | Shrink size of window (MondadTall layout) | +| `MODKEY + l` | Shrink size of window (MondadTall layout) | | `MODKEY + w` | switch focus to monitor 1 | | `MODKEY + e` | switch focus to monitor 2 | | `MODKEY + r` | switch focus to monitor 3 | diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 542095e..eac673d 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -106,12 +106,12 @@ keys = [ lazy.layout.shuffle_up() # Move windows up in current stack ), Key( - [mod, "shift"], "l", + [mod], "h", lazy.layout.grow(), # Grow size of current window (XmonadTall) lazy.layout.increase_nmaster(), # Increase number in master pane (Tile) ), Key( - [mod, "shift"], "h", + [mod], "l", lazy.layout.shrink(), # Shrink size of current window (XmonadTall) lazy.layout.decrease_nmaster(), # Decrease number in master pane (Tile) ), diff --git a/.xmonad/README.md b/.xmonad/README.md index 1d4b034..2896df0 100644 --- a/.xmonad/README.md +++ b/.xmonad/README.md @@ -16,13 +16,16 @@ This directory houses my personal xmonad configuration (xmonad.hs). To check ou # My Keybindings -The MODKEY is set to the Super key (aka the Windows key). +The MODKEY is set to the Super key (aka the Windows key). I try to keep the +keybindings consistent with all of my window managers. | Keybinding | Action | | :--- | :--- | -| `ALT + CTRL + Enter` | opens run launcher (dmenu is the run launcher but can be easily changed) | -| `MODKEY + Enter` | opens terminal (st is the terminal but can be easily changed) | +| `MODKEY + RETURN` | opens terminal (alacritty is the terminal but can be easily changed) | +| `MODKEY + SHIFT + RETURN` | opens run launcher (dmenu is the run launcher but can be easily changed) | +| `MODKEY + TAB` | rotates through the available layouts | | `MODKEY + SHIFT + c` | closes window with focus | +| `MODKEY + SHIFT + r` | restarts xmonad | | `MODKEY + SHIFT + q` | quits xmonad | | `MODKEY + j` | windows focus down (switches focus between windows in the stack) | | `MODKEY + k` | windows focus up (switches focus between windows in the stack) | @@ -33,3 +36,6 @@ The MODKEY is set to the Super key (aka the Windows key). | `MODKEY + w` | switches focus to monitor 1 | | `MODKEY + e` | switches focus to monitor 2 | | `MODKEY + r` | switches focus to monitor 3 | +| `MODKEY + period` | switch focus to next monitor | +| `MODKEY + comma` | switch focus to prev monitor | + diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index 959e13a..1fad87c 100755 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -36,7 +36,7 @@ import XMonad.Actions.RotSlaves (rotSlavesDown, rotAllDown) import XMonad.Actions.CopyWindow (kill1, copyToAll, killAllOtherCopies, runOrCopy) import XMonad.Actions.WindowGo (runOrRaise, raiseMaybe) import XMonad.Actions.WithAll (sinkAll, killAll) -import XMonad.Actions.CycleWS (moveTo, shiftTo, WSType(..), shiftNextScreen, shiftPrevScreen) +import XMonad.Actions.CycleWS (moveTo, shiftTo, WSType(..), nextScreen, prevScreen, shiftNextScreen, shiftPrevScreen) import XMonad.Actions.GridSelect import XMonad.Actions.DynamicWorkspaces (addWorkspacePrompt, removeEmptyWorkspace) import XMonad.Actions.MouseResize @@ -161,7 +161,7 @@ myKeys = -- Floating windows , ("M-", withFocused $ windows . W.sink) -- Push floating window back to tile. , ("M-S-", sinkAll) -- Push ALL floating windows back to tile. - + -- Grid Select , (("M-S-t"), spawnSelected' [ ("Audacity", "audacity") @@ -214,7 +214,7 @@ myKeys = , ("M-C-", sendMessage (DecreaseLeft 10)) -- Decrease size of focused window left -- Layouts - , ("M-", sendMessage NextLayout) -- Switch to next layout + , ("M-", sendMessage NextLayout) -- Switch to next layout , ("M-S-", sendMessage ToggleStruts) -- Toggles struts , ("M-S-n", sendMessage $ Toggle NOBORDERS) -- Toggles noborder , ("M-S-=", sendMessage (Toggle NBFULL) >> sendMessage ToggleStruts) -- Toggles noborder/full @@ -227,16 +227,16 @@ myKeys = , ("M-S-", increaseLimit) -- Increase number of windows that can be shown , ("M-S-", decreaseLimit) -- Decrease number of windows that can be shown - , ("M-C-h", sendMessage Shrink) - , ("M-C-l", sendMessage Expand) + , ("M-h", sendMessage Shrink) + , ("M-l", sendMessage Expand) , ("M-C-j", sendMessage MirrorShrink) , ("M-C-k", sendMessage MirrorExpand) , ("M-S-;", sendMessage zoomReset) , ("M-;", sendMessage ZoomFullToggle) -- Workspaces - , ("M-", moveTo Next nonNSP) -- Go to next workspace - , ("M-", moveTo Prev nonNSP) -- Go to previous workspace + , ("M-.", nextScreen) -- Switch focus to next monitor + , ("M-,", prevScreen) -- Switch focus to prev monitor , ("M-S-", shiftTo Next nonNSP >> moveTo Next nonNSP) -- Shifts focused window to next workspace , ("M-S-", shiftTo Prev nonNSP >> moveTo Prev nonNSP) -- Shifts focused window to previous workspace @@ -248,7 +248,7 @@ myKeys = , ("M-", spawn myTerminal) --- Dmenu Scripts (Alt+Ctr+Key) - , ("M1-C-", spawn "dmenu_run -fn 'UbuntuMono Nerd Font:size=10' -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -p 'dmenu:'") + , ("M-S-", spawn "dmenu_run -fn 'UbuntuMono Nerd Font:size=10' -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -p 'dmenu:'") , ("M1-C-e", spawn "./.dmenu/dmenu-edit-configs.sh") , ("M1-C-h", spawn "./.dmenu/dmenu-hugo.sh") , ("M1-C-m", spawn "./.dmenu/dmenu-sysmon.sh")