diff --git a/.config/awesome/README.md b/.config/awesome/README.md index 63f4ab6..0a43090 100755 --- a/.config/awesome/README.md +++ b/.config/awesome/README.md @@ -18,21 +18,28 @@ Awesome is a highly configurable, next generation framework window manager for X # 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 + CRTL + 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 + SHIFT + c` | closes window with focus | | `MODKEY + SHIFT + r` | restarts awesome | | `MODKEY + SHIFT + q` | quits awesome | +| `MODKEY + 1-9` | switch focus to workspace (1-9) | +| `MODKEY + SHIFT + 1-9` | send focused window to workspace (1-9) | | `MODKEY + j` | switches focus between windows in the stack, going down | | `MODKEY + k` | switches focus between windows in the stack, going up | +| `MODKEY + h` | switches focus between windows in the stack, going left | +| `MODKEY + l` | switches focus between windows in the stack, going right | | `MODKEY + SHIFT + j` | rotates the windows in the stack, going down| | `MODKEY + SHIFT + k` | rotates the windows in the stack, going up | -| `MODKEY + 1-9` | switch focus to workspace (1-9) | -| `MODKEY + SHIFT + 1-9` | sends focused window to workspace (1-9) | +| `MODKEY + SHIFT + h` | rotates the windows in the stack, going left| +| `MODKEY + SHIFT + l` | rotates the windows in the stack, going right | +| `MODKEY + period` | switch focus to next monitor | +| `MODKEY + comma` | switch focus to prev monitor | ## Getting Help With Awesome diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index a858350..f172477 100755 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -49,7 +49,7 @@ local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility if awesome.startup_errors then naughty.notify({ preset = naughty.config.presets.critical, title = "Oops, there were errors during startup!", - text = awesome.startup_errors })(( + text = awesome.startup_errors }) end -- Handle runtime errors after startup @@ -106,11 +106,11 @@ local modkey1 = "Control" local browser = "firefox" local editor = os.getenv("EDITOR") or "vim" local editorgui = "geany" -local filemanager = "pcmanfm" +local filemanager = "thunar" local mailclient = "geary" local mediaplayer = "vlc" local scrlocker = "slimlock" -local terminal = "st" +local terminal = "alacritty" local virtualmachine = "virtualbox" -- awesome variables @@ -118,7 +118,7 @@ awful.util.terminal = terminal --awful.util.tagnames = { " ", " ", " ", " ", " ", " ", " ", " ", " ", " " } --awful.util.tagnames = { "⠐", "⠡", "⠲", "⠵", "⠻", "⠿" } --awful.util.tagnames = { "⌘", "♐", "⌥", "ℵ" } -awful.util.tagnames = { " DEV ", " WWW ", " SYS ", " DOC ", " VBOX ", " CHAT ", " MEDIA ", " GFX " } +awful.util.tagnames = { " DEV ", " WWW ", " SYS ", " DOC ", " VBOX ", " CHAT ", " MUS ", " VID ", " GFX " } -- Use this : https://fontawesome.com/cheatsheet --awful.util.tagnames = { "", "", "", "", "" } awful.layout.suit.tile.left.mirror = true @@ -267,7 +267,7 @@ globalkeys = my_table.join( -- {{{ Personal keybindings -- dmenu - awful.key({ altkey, "Control" }, "Return", + awful.key({ modkey, "Shift" }, "Return", function () awful.spawn(string.format("dmenu_run -i -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -fn 'Mononoki Nerd Font:bold:pixelsize=14'", beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) @@ -275,7 +275,7 @@ globalkeys = my_table.join( {description = "show dmenu", group = "hotkeys"}), -- My dmenu scripts (Alt+Ctrl+Key) - awful.key({ altkey, "Control" }, "e", function () awful.util.spawn( "./.dmenu/dmenu-edit-configs.sh" ) end, + awful.key({ altkey, "Control" }, "e", function () awful.util.spawn( "./.dmenu/dmenu-edit-configs.sh" ) end, {description = "edit config files" , group = "dmenu scripts" }), awful.key({ altkey, "Control" }, "m", function () awful.util.spawn( "./.dmenu/dmenu-sysmon.sh" ) end, {description = "system monitoring apps" , group = "dmenu scripts" }), @@ -287,7 +287,7 @@ globalkeys = my_table.join( {description = "trading programs" , group = "dmenu scripts" }), -- My applications (Super+Alt+Key) - awful.key({ modkey, altkey }, "a", function () awful.util.spawn( "st -e ncpamixer" ) end, + awful.key({ modkey, altkey }, "a", function () awful.util.spawn( "st -e ncpamixer" ) end, {description = "ncpamixer" , group = "terminal apps" }), awful.key({ modkey, altkey }, "b", function () awful.util.spawn( "surf www.youtube.com/c/DistroTube" ) end, {description = "surf web browser" , group = "gui apps" }), @@ -436,9 +436,9 @@ globalkeys = my_table.join( {description = "swap with next client by index", group = "client"}), awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end, {description = "swap with previous client by index", group = "client"}), - awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end, + awful.key({ modkey }, ".", function () awful.screen.focus_relative( 1) end, {description = "focus the next screen", group = "screen"}), - awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end, + awful.key({ modkey }, ",", function () awful.screen.focus_relative(-1) end, {description = "focus the previous screen", group = "screen"}), awful.key({ modkey, }, "u", awful.client.urgent.jumpto, {description = "jump to urgent client", group = "client"}), diff --git a/.config/qtile/README.md b/.config/qtile/README.md index 7eedc92..823d1ce 100755 --- a/.config/qtile/README.md +++ b/.config/qtile/README.md @@ -29,12 +29,14 @@ keybindings consistent with all of my window managers. | `MODKEY + SHIFT + c` | closes window with focus | | `MODKEY + SHIFT + r` | restarts qtile | | `MODKEY + SHIFT + q` | quits qtile | +| `MODKEY + 1-9` | switch focus to workspace (1-9) | +| `MODKEY + SHIFT + 1-9` | send focused window to workspace (1-9) | | `MODKEY + j` | lazy layout up (switches focus between windows in the stack) | | `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 + h` | Shrink size of window (MondadTall layout) | -| `MODKEY + l` | Shrink size of window (MondadTall layout) | +| `MODKEY + h` | expand 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/.xmonad/README.md b/.xmonad/README.md index 2896df0..fa41d7e 100644 --- a/.xmonad/README.md +++ b/.xmonad/README.md @@ -27,6 +27,8 @@ keybindings consistent with all of my window managers. | `MODKEY + SHIFT + c` | closes window with focus | | `MODKEY + SHIFT + r` | restarts xmonad | | `MODKEY + SHIFT + q` | quits xmonad | +| `MODKEY + 1-9` | switch focus to workspace (1-9) | +| `MODKEY + SHIFT + 1-9` | send focused window to workspace (1-9) | | `MODKEY + j` | windows focus down (switches focus between windows in the stack) | | `MODKEY + k` | windows focus up (switches focus between windows in the stack) | | `MODKEY + SHIFT + j` | windows swap down (swap windows in the stack) | diff --git a/dwm/README.md b/dwm/README.md index 0ddf510..083dc3d 100755 --- a/dwm/README.md +++ b/dwm/README.md @@ -14,7 +14,9 @@ keybindings consistent with all of my window managers. | `MODKEY + SHIFT + RETURN` | opens run launcher (dmenu is the run launcher but can be easily changed) | | `MODKEY + SHIFT + c` | closes window with focus | | `MODKEY + SHIFT + r` | restarts dwm | -| `MODKEY + SHIFT + q` | quits ddwm | +| `MODKEY + SHIFT + q` | quits dwm | +| `MODKEY + 1-9` | switch focus to workspace (1-9) | +| `MODKEY + SHIFT + 1-9` | send focused window to workspace (1-9) | | `MODKEY + j` | focus stack +1 (switches focus between windows in the stack) | | `MODKEY + k` | focus stack -1 (switches focus between windows in the stack) | | `MODKEY + SHIFT + j` | rotate stack +1 (rotates the windows in the stack) | diff --git a/dwm/config.h b/dwm/config.h index 5f65253..c031cef 100755 --- a/dwm/config.h +++ b/dwm/config.h @@ -72,7 +72,6 @@ static const Layout layouts[] = { { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} }, #define CMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } - /* helper for spawning shell commands in the pre dwm-5.0 fashion */ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }