remove most spawn() keybinds, old (personal) config available at

https://codeberg.org/speedie/dotfiles
This commit is contained in:
speedie 2023-01-29 17:01:27 +01:00
parent ed8d310fc3
commit a75048841f
6 changed files with 25 additions and 308 deletions

View file

@ -77,18 +77,7 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+Shift+Enter - Opens the defined terminal (default is st)
- Super+Shift+Colon - Opens an spmenu prompt
- Super+Shift+s - Opens 'maim' to take a screenshot and copies it to the clipboard using 'xclip' (requires speedwm-extras)
- Super+Shift+f - Opens the defined file manager
- Super+Shift+w - Opens the defined web browser
- Super+Shift+o - Opens the speedwm-dfmpeg spmenu script to record your screen. (requires speedwm-extras)
- Super+Shift+t - Opens the defined editor in your terminal
- Super+Shift+m - Kills the defined music player
- Super+Shift+a - Opens the defined mixer in your terminal
- Super+Shift+m - Opens the defined music player
- Super+Shift+x - Opens the defined system process viewer in your terminal
- Super+Shift+c - Opens the defined chat client
- Super+Shift+u - Opens the defined RSS reader
- Super+Shift+r - Opens the defined email client
### These keybinds are for navigating speedwm
@ -103,7 +92,6 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+Minus - Show the scratchpad
- Super+Equal - Remove the scratchpad
- Super+Enter - Switch order of windows
- Super+Colon - Open a list of desktop entries in spmenu
- Super+Tab - Switch between windows on the same tag. (Microsoft Windows-like Alt+Tab)
- Super+v - Center the focused window.
- Super+0 - Reset mfact
@ -141,8 +129,6 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+Shift+/ - Reset bar padding and gaps
- Super+Shift+h/j/k/l - Rotates a stack.
- Super+Shift+Arrow - Resizes a window in floating mode
- Super+Shift+Escape - Ask the user if they want to shutdown or reboot or nothing
- Super+Shift+Tab - Switch between windows and tags in detail.
- Super+Shift+Equal - Toggle scratchpads
- Super+Shift+Minus - Hide the scratchpad
- Super+Shift+Space - Toggle floating windows
@ -155,9 +141,6 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+Control+7 - Combine the current tag with tag 7
- Super+Control+8 - Combine the current tag with tag 8
- Super+Control+9 - Combine the current tag with tag 9
- Super+Control+q - Mutes your audio
- Super+Control+w - Increases your volume
- Super+Control+e - Decreases your volume
- Super+Control+0 - Tag all tags at once.
- Super+Control+Enter - Mirror the layout
- Super+Control+i - Increase stackcount by 1
@ -181,22 +164,13 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+Control+Shift+7 - Move the focused window to tag 7
- Super+Control+Shift+8 - Move the focused window to tag 8
- Super+Control+Shift+9 - Move the focused window to tag 9
- Super+Control+Shift+Esc - Open speedwm-utils (requires speedwm-extras)
- Super+Control+Shift+Arrow - Resize the window to the screen size.
- Super+Control+Shift+s - Set a wallpaper (requires speedwm-extras)
- Super+Control+Shift+n - Connect to WLAN using iwd (requires speedwm-extras)
- Super+Control+Shift+b - Connect to a Bluetooth device using bluez (requires speedwm-extras)
- Super+Control+Shift+q - Pauses your music
- Super+Control+Shift+w - Decreases your music volume
- Super+Control+Shift+e - Increase your music volume
- Super+Control+Shift+r - Restart speedwm
- Super+Control+Shift+j/k - Change window size vertically (cfact)
- Super+Control+Shift+Equal - Increase bar height by 1
- Super+Control+Shift+Minus - Decrease bar height by 1
### Chained keybinds
- Super+r & s - Run screenkey if its not running, otherwise kill it.
- Super+t & r - Reorganize tags and move windows
- Super+t & t - Toggle tag area in the bar
- Super+t & y - Toggle empty tag area in the bar
@ -232,25 +206,10 @@ Please let me know if any keybinds are missing as these have been manually added
- Super+l & 0 - Set layout to layout 9
- Super+Shift+g & i - Decrease inner gaps by 1
- Super+Shift+g & o - Decrease outer gaps by 1
- Super+Shift+e & a - Open the virtual keyboard
- Super+Shift+e & e - Open a list of all emojis and copy the selection
- Super+Shift+e & r - Randomize wallpaper
- Super+Shift+e & p - Set wallpaper to the previous
### These will only work if your keyboard has special multimedia buttons.
- Mute button - Mutes your audio
- Up Volume button - Increases your volume
- Next/Previous song button - Switch to the next/previous track
- Down Volume button - Decreases your volume
- Pause button - Pauses the current track
- Stop button - Stops your defined music player
- Browser button - Opens your defined web browser
- Power button - Ask if you wanna shut down, restart or lock your computer. (requires speedwm-extras)
- Email button - Open your defined email client
- System button - Open your defined status viewer in a terminal
- Music button - Open your defined music player
- WLAN button - Disconnect from WLAN (requires speedwm-extras)
### These binds can be activated using your mouse
@ -261,13 +220,12 @@ Please let me know if any keybinds are missing as these have been manually added
- Layout indicator (Middle click) - Open an spmenu list of all layouts (requires speedwm-extras)
- Layout indicator (Scrolling up/down) - Switch to the next/previous layout
- Window title (Left click) - Show/hide the window
- Window title (Right click) - Open speedwm-utils (requires speedwm-extras)
- Window title (Scrolling up/down) - Move windows around in the stack.
- Focused window (Super+Alt+Left click) - Move the focused window around
- Focused window (Super+Alt+Middle click) - Make the focused window floating
- Focused window title (Middle click) - Rotate stack
- Dragging (Super+Right click) - Increase/decrease size of each window (mfact)
- Dragging (SuperControl+Right click) - Increase/decrease cfact
- Root window (Right click) - List .desktop entries and open them (requires j4-dmenu-desktop)
## 5. Dependencies
@ -295,8 +253,8 @@ These are absolutely necessary, speedwm will NOT compile without them
These are necessary for certain features and keybinds.
If you want to use an alternative, change it in options.h and/or keybinds.h and mouse.h.
- [spmenu](https://codeberg.org/speedie/spmenu)
- As of speedwm 1.9, speedwm now expects spmenu (fork of dmenu) to be on the system instead of dmenu. While you can revert this change I cannot provide support due to missing arguments.d
- [spmenu](https://speedie.gq/projects/spmenu.php)
- As of speedwm 1.9, speedwm now expects spmenu (fork of dmenu) to be on the system instead of dmenu. While you can revert this change I cannot provide support due to missing arguments.
- xrdb
- xrdb is used for external speedwm configuration (ie. after compiling). It is **not** mandatory if you don't need this.
@ -305,26 +263,14 @@ If you want to use an alternative, change it in options.h and/or keybinds.h and
This build of speedwm comes with keybinds for software.
You can add, change and remove keybinds by editing `keybinds.h` and `mouse.h` and running `make clean install`.
- speedwm-extras
- Metapackage containing extra scripts that speedwm makes use of. (https://codeberg.org/speedie/speedwm-extras)
- libspeedwm
- Dependency for speedwm-extras allowing you to perform actions externally.
- speedwm-extras
- Important metapackage containing extra scripts that speedwm makes use of. (https://codeberg.org/speedie/speedwm-extras)
- st - Default terminal
- Chromium - Default web browser
- htop - Status monitor
- newsboat - RSS reader
- cmus - Music player
- Default status bar also has support for moc/mocp (Music On Console)
- neovim - Text editor
- neomutt - Email client
- lf - File manager
- slock - Lock screen
- weechat - IRC client
- tmux - Used for the music player and IRC client
- j4-dmenu-desktop - Listing .desktop entries
And everything under `Features`.
## 6. Important
If you're used to dwm, speedwm might be a little unfamiliar to you at first. This is because speedwm doesn't use config.h (or config.def.h).

View file

@ -24,8 +24,8 @@ These are absolutely necessary, speedwm will NOT compile without them
These are necessary for certain features and keybinds.
If you want to use an alternative, change it in options.h and/or keybinds.h and mouse.h.
- [spmenu](https://codeberg.org/speedie/spmenu)
- As of speedwm 1.9, speedwm now expects spmenu (fork of dmenu) to be on the system instead of dmenu. While you can revert this change I cannot provide support due to missing arguments.d
- [spmenu](https://speedie.gq/projects/spmenu.php)
- As of speedwm 1.9, speedwm now expects spmenu (fork of dmenu) to be on the system instead of dmenu. While you can revert this change I cannot provide support due to missing arguments.
- xrdb
- xrdb is used for external speedwm configuration (ie. after compiling). It is **not** mandatory if you don't need this.
@ -34,23 +34,11 @@ If you want to use an alternative, change it in options.h and/or keybinds.h and
This build of speedwm comes with keybinds for software.
You can add, change and remove keybinds by editing `keybinds.h` and `mouse.h` and running `make clean install`.
- speedwm-extras
- Metapackage containing extra scripts that speedwm makes use of. (https://codeberg.org/speedie/speedwm-extras)
- libspeedwm
- Dependency for speedwm-extras allowing you to perform actions externally.
- speedwm-extras
- Important metapackage containing extra scripts that speedwm makes use of. (https://codeberg.org/speedie/speedwm-extras)
- st - Default terminal
- Chromium - Default web browser
- htop - Status monitor
- newsboat - RSS reader
- cmus - Music player
- Default status bar also has support for moc/mocp (Music On Console)
- neovim - Text editor
- neomutt - Email client
- lf - File manager
- slock - Lock screen
- weechat - IRC client
- tmux - Used for the music player and IRC client
- j4-dmenu-desktop - Listing .desktop entries
And everything under `Features`.

View file

@ -2,18 +2,7 @@
- Super+Shift+Enter - Opens the defined terminal (default is st)
- Super+Shift+Colon - Opens an spmenu prompt
- Super+Shift+s - Opens 'maim' to take a screenshot and copies it to the clipboard using 'xclip' (requires speedwm-extras)
- Super+Shift+f - Opens the defined file manager
- Super+Shift+w - Opens the defined web browser
- Super+Shift+o - Opens the speedwm-dfmpeg spmenu script to record your screen. (requires speedwm-extras)
- Super+Shift+t - Opens the defined editor in your terminal
- Super+Shift+m - Kills the defined music player
- Super+Shift+a - Opens the defined mixer in your terminal
- Super+Shift+m - Opens the defined music player
- Super+Shift+x - Opens the defined system process viewer in your terminal
- Super+Shift+c - Opens the defined chat client
- Super+Shift+u - Opens the defined RSS reader
- Super+Shift+r - Opens the defined email client
### These keybinds are for navigating speedwm
@ -28,7 +17,6 @@
- Super+Minus - Show the scratchpad
- Super+Equal - Remove the scratchpad
- Super+Enter - Switch order of windows
- Super+Colon - Open a list of desktop entries in spmenu
- Super+Tab - Switch between windows on the same tag. (Microsoft Windows-like Alt+Tab)
- Super+v - Center the focused window.
- Super+0 - Reset mfact
@ -66,8 +54,6 @@
- Super+Shift+/ - Reset bar padding and gaps
- Super+Shift+h/j/k/l - Rotates a stack.
- Super+Shift+Arrow - Resizes a window in floating mode
- Super+Shift+Escape - Ask the user if they want to shutdown or reboot or nothing
- Super+Shift+Tab - Switch between windows and tags in detail.
- Super+Shift+Equal - Toggle scratchpads
- Super+Shift+Minus - Hide the scratchpad
- Super+Shift+Space - Toggle floating windows
@ -80,9 +66,6 @@
- Super+Control+7 - Combine the current tag with tag 7
- Super+Control+8 - Combine the current tag with tag 8
- Super+Control+9 - Combine the current tag with tag 9
- Super+Control+q - Mutes your audio
- Super+Control+w - Increases your volume
- Super+Control+e - Decreases your volume
- Super+Control+0 - Tag all tags at once.
- Super+Control+Enter - Mirror the layout
- Super+Control+i - Increase stackcount by 1
@ -106,22 +89,13 @@
- Super+Control+Shift+7 - Move the focused window to tag 7
- Super+Control+Shift+8 - Move the focused window to tag 8
- Super+Control+Shift+9 - Move the focused window to tag 9
- Super+Control+Shift+Esc - Open speedwm-utils (requires speedwm-extras)
- Super+Control+Shift+Arrow - Resize the window to the screen size.
- Super+Control+Shift+s - Set a wallpaper (requires speedwm-extras)
- Super+Control+Shift+n - Connect to WLAN using iwd (requires speedwm-extras)
- Super+Control+Shift+b - Connect to a Bluetooth device using bluez (requires speedwm-extras)
- Super+Control+Shift+q - Pauses your music
- Super+Control+Shift+w - Decreases your music volume
- Super+Control+Shift+e - Increase your music volume
- Super+Control+Shift+r - Restart speedwm
- Super+Control+Shift+j/k - Change window size vertically (cfact)
- Super+Control+Shift+Equal - Increase bar height by 1
- Super+Control+Shift+Minus - Decrease bar height by 1
### Chained keybinds
- Super+r & s - Run screenkey if its not running, otherwise kill it.
- Super+t & r - Reorganize tags and move windows
- Super+t & t - Toggle tag area in the bar
- Super+t & y - Toggle empty tag area in the bar
@ -157,25 +131,10 @@
- Super+l & 0 - Set layout to layout 9
- Super+Shift+g & i - Decrease inner gaps by 1
- Super+Shift+g & o - Decrease outer gaps by 1
- Super+Shift+e & a - Open the virtual keyboard
- Super+Shift+e & e - Open a list of all emojis and copy the selection
- Super+Shift+e & r - Randomize wallpaper
- Super+Shift+e & p - Set wallpaper to the previous
### These will only work if your keyboard has special multimedia buttons.
- Mute button - Mutes your audio
- Up Volume button - Increases your volume
- Next/Previous song button - Switch to the next/previous track
- Down Volume button - Decreases your volume
- Pause button - Pauses the current track
- Stop button - Stops your defined music player
- Browser button - Opens your defined web browser
- Power button - Ask if you wanna shut down, restart or lock your computer. (requires speedwm-extras)
- Email button - Open your defined email client
- System button - Open your defined status viewer in a terminal
- Music button - Open your defined music player
- WLAN button - Disconnect from WLAN (requires speedwm-extras)
### These binds can be activated using your mouse
@ -186,11 +145,10 @@
- Layout indicator (Middle click) - Open an spmenu list of all layouts (requires speedwm-extras)
- Layout indicator (Scrolling up/down) - Switch to the next/previous layout
- Window title (Left click) - Show/hide the window
- Window title (Right click) - Open speedwm-utils (requires speedwm-extras)
- Window title (Scrolling up/down) - Move windows around in the stack.
- Focused window (Super+Alt+Left click) - Move the focused window around
- Focused window (Super+Alt+Middle click) - Make the focused window floating
- Focused window title (Middle click) - Rotate stack
- Dragging (Super+Right click) - Increase/decrease size of each window (mfact)
- Dragging (SuperControl+Right click) - Increase/decrease cfact
- Root window (Right click) - List .desktop entries and open them (requires j4-dmenu-desktop)

View file

@ -47,57 +47,21 @@
/* Keybinds */
static Key keys[] = {
/* type modifier chain key key function argument */
/* Run keybinds */
{ KeyPress, MODIFIER1, -1, XK_semicolon, spawn, cmd( "j4-dmenu-desktop --term=st --dmenu='spmenu -l 20 -p Open:'" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_semicolon, spawn, cmd( "spmenu_run -l 0 -p 'Run:' -na" ) },
/* Application keybinds */
{ KeyPress, MODIFIER1|SHIFT, -1, XK_Return, spawn, cmd( TERMINAL ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_s, spawn, cmd( "speedwm-screenshotutil -s" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_f, spawn, cmd( TERMINAL "lfrun || lf" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_w, spawn, cmd( "chromium || chromium-bin" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_o, spawn, cmd( "speedwm-dfmpeg" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_t, spawn, cmd( TERMINAL "nvim" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_a, spawn, cmd( TERMINAL "speedwm-audioctrl -runmixer" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_m, spawn, cmd( TERMINAL "tmux new-session -A -D -s cmus $(which --skip-alias cmus)" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_Tab, spawn, cmd( "speedwm-winnav" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_x, spawn, cmd( TERMINAL "htop" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_c, spawn, cmd( TERMINAL "tmux new-session -A -D -s weechat $(which --skip-alias weechat)" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_Escape, spawn, cmd( "speedwm-shutdown" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_u, spawn, cmd( TERMINAL "newsboat" ) },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_r, spawn, cmd( TERMINAL "neomutt" ) },
{ KeyPress, MODIFIER1|CONTROL, -1, XK_Tab, spawn, cmd( "speedwm-utils layout" ) },
{ KeyPress, MODIFIER1|CONTROL, -1, XK_s, spawn, cmd( "speedwm-screenshotutil -f" ) },
{ KeyPress, MODIFIER1|CONTROL, -1, XK_m, spawn, cmd( "pkill cmus" ) },
{ KeyPress, MODIFIER1|CONTROL, -1, XK_q, spawn, cmd( "speedwm-audioctrl -mute" ) },
{ KeyPress, MODIFIER1|CONTROL, -1, XK_w, spawn, cmd( "speedwm-audioctrl -lower" ) },
{ KeyPress, MODIFIER1|CONTROL, -1, XK_e, spawn, cmd( "speedwm-audioctrl -raise" ) },
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_q, spawn, cmd( "cmus-remote --pause" ) },
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_w, spawn, cmd( "cmus-remote --volume -3000" ) },
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_e, spawn, cmd( "cmus-remote --volume +3000" ) },
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_Escape, spawn, cmd( "speedwm-utils" ) },
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_s, spawn, cmd( "speedwm-swal" ) },
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_n, spawn, cmd( "speedwm-netctrl" ) },
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_b, spawn, cmd( "speedwm-btctrl" ) },
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_r, spawn, cmd( "libspeedwm --perform core_wm_restart" ) },
/* Switcher */
{ KeyPress, MODIFIER1, -1, XK_Tab, switcherstart, {0} },
/* Systray */
{ KeyPress, MODIFIER1, -1, XK_s, togglesystray, {0} },
/* Layout keybinds */
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_a, cyclelayout, {.i = -1 } },
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_d, cyclelayout, {.i = +1 } },
/* Scratchpad keybinds */
{ KeyPress, MODIFIER1, -1, XK_minus, scratchpad_show, {0} },
{ KeyPress, MODIFIER1|SHIFT, -1, XK_minus, scratchpad_hide, {0} },
{ KeyPress, MODIFIER1, -1, XK_equal, scratchpad_remove, {0} },
/* speedwm general binds */
{ KeyPress, MODIFIER1, -1, XK_f, togglefullscr, {0} },
{ KeyPress, MODIFIER1, -1, XK_b, togglebar, {0} },
{ KeyPress, MODIFIER1, -1, XK_r, resetmastercount, {0} },
@ -189,7 +153,6 @@ static Key keys[] = {
{ KeyPress, MODIFIER1|CONTROL|SHIFT, -1, XK_p, hideall, {0} },
/* Chained keybinds */
{ KeyPress, MODIFIER1, XK_r, XK_s, spawn, cmd( "pgrep -x screenkey && pkill screenkey || screenkey" ) },
{ KeyPress, MODIFIER1, XK_t, XK_r, reorganizetags, {0} },
{ KeyPress, MODIFIER1, XK_p, XK_t, togglebarpadding, {0} },
{ KeyPress, MODIFIER1, XK_p, XK_u, setbarpadding, {.i = +5 } },
@ -229,28 +192,10 @@ static Key keys[] = {
/* Misc */
{ KeyPress, MODIFIER1|SHIFT, -1, XK_backslash, killunsel, {0} },
{ KeyPress, MODIFIER1|SHIFT, XK_e, XK_p, spawn, cmd( "speedwm-swal --previous" ) },
{ KeyPress, MODIFIER1|SHIFT, XK_e, XK_r, spawn, cmd( "speedwm-swal --randomize" ) },
{ KeyPress, MODIFIER1|SHIFT, XK_e, XK_a, spawn, cmd( "speedwm-virtualkeyboard" ) },
{ KeyPress, MODIFIER1|SHIFT, XK_e, XK_e, spawn, cmd( "speedwm-virtualkeyboard -e" ) },
/* Gap keybinds */
{ KeyPress, MODIFIER1|CONTROL, -1, XK_z, incrgaps, {.i = +5 } },
{ KeyPress, MODIFIER1|CONTROL, -1, XK_x, incrgaps, {.i = -5 } },
/* Media buttons */
{ KeyPress, 0, -1, XF86XK_AudioMute, spawn, cmd( "speedwm-audioctrl -mute" ) },
{ KeyPress, 0, -1, XF86XK_AudioRaiseVolume, spawn, cmd( "speedwm-audioctrl -raise" ) },
{ KeyPress, 0, -1, XF86XK_AudioLowerVolume, spawn, cmd( "speedwm-audioctrl -lower" ) },
{ KeyPress, 0, -1, XF86XK_AudioPrev, spawn, cmd( "cmus-remote --prev" ) },
{ KeyPress, 0, -1, XF86XK_AudioNext, spawn, cmd( "cmus-remote --next" ) },
{ KeyPress, 0, -1, XF86XK_AudioStop, spawn, cmd( "pkill cmus" ) },
{ KeyPress, 0, -1, XF86XK_AudioPause, spawn, cmd( "cmus-remote --pause" ) },
{ KeyPress, 0, -1, XF86XK_WWW, spawn, cmd( "qutebrowser" ) },
{ KeyPress, 0, -1, XF86XK_PowerOff, spawn, cmd( "speedwm-shutdown" ) },
{ KeyPress, 0, -1, XF86XK_Sleep, spawn, cmd( "slock" ) },
{ KeyPress, 0, -1, XF86XK_Mail, spawn, cmd( TERMINAL "neomutt" ) },
{ KeyPress, 0, -1, XF86XK_TaskPane, spawn, cmd( TERMINAL "htop" ) },
{ KeyPress, 0, -1, XF86XK_WLAN, spawn, cmd( "speedwm-netctrl disconnect" ) },
{ KeyPress, 0, -1, XF86XK_Music, spawn, cmd( TERMINAL "tmux new-session -A -D -s cmus $(which --skip-alias cmus)" ) },
{ KeyPress, 0, -1, XF86XK_WWW, spawn, cmd( "chromium || chromium-bin" ) },
};

View file

@ -36,11 +36,9 @@ static const Button buttons[] = {
{ clickstatusbar, 0, Button1, spawn, {.v = clickstatus } },
{ clickstatusbar, 0, Button2, spawn, {.v = clickstatus } },
{ clickstatusbar, 0, Button3, spawn, {.v = clickstatus } },
{ clicktitle, 0, Button3, spawn, cmd( "speedwm-utils" ) },
{ clicktitle, 0, Button1, togglewin, {0} },
{ clicktitle, 0, Button4, inplacerotate, {.i = +2} },
{ clicktitle, 0, Button5, inplacerotate, {.i = -2} },
{ clickroot, 0, Button3, spawn, cmd( "j4-dmenu-desktop --term=st --dmenu='spmenu -l 20 -p Open:'" ) },
{ clicktags, 0, Button1, view, {0} },
{ clicktags, 0, Button4, viewtoleft, {0} },
{ clicktags, 0, Button5, viewtoright, {0} },

142
speedwm.1
View file

@ -152,32 +152,7 @@ Super+Shift+Enter - Opens the defined terminal (default is st)
.IP \[bu] 2
Super+Shift+Colon - Opens an spmenu prompt
.IP \[bu] 2
Super+Shift+s - Opens `maim' to take a screenshot and copies it to the
clipboard using `xclip' (requires speedwm-extras)
.IP \[bu] 2
Super+Shift+f - Opens the defined file manager
.IP \[bu] 2
Super+Shift+w - Opens the defined web browser
.IP \[bu] 2
Super+Shift+o - Opens the speedwm-dfmpeg spmenu script to record your
screen.
(requires speedwm-extras)
.IP \[bu] 2
Super+Shift+t - Opens the defined editor in your terminal
.IP \[bu] 2
Super+Shift+m - Kills the defined music player
.IP \[bu] 2
Super+Shift+a - Opens the defined mixer in your terminal
.IP \[bu] 2
Super+Shift+m - Opens the defined music player
.IP \[bu] 2
Super+Shift+x - Opens the defined system process viewer in your terminal
.IP \[bu] 2
Super+Shift+c - Opens the defined chat client
.IP \[bu] 2
Super+Shift+u - Opens the defined RSS reader
.IP \[bu] 2
Super+Shift+r - Opens the defined email client
.SS These keybinds are for navigating speedwm
.IP \[bu] 2
Super+f - Fullscreen the selected window
@ -203,8 +178,6 @@ Super+Equal - Remove the scratchpad
.IP \[bu] 2
Super+Enter - Switch order of windows
.IP \[bu] 2
Super+Colon - Open a list of desktop entries in spmenu
.IP \[bu] 2
Super+Tab - Switch between windows on the same tag.
(Microsoft Windows-like Alt+Tab)
.IP \[bu] 2
@ -282,11 +255,6 @@ Super+Shift+h/j/k/l - Rotates a stack.
.IP \[bu] 2
Super+Shift+Arrow - Resizes a window in floating mode
.IP \[bu] 2
Super+Shift+Escape - Ask the user if they want to shutdown or reboot or
nothing
.IP \[bu] 2
Super+Shift+Tab - Switch between windows and tags in detail.
.IP \[bu] 2
Super+Shift+Equal - Toggle scratchpads
.IP \[bu] 2
Super+Shift+Minus - Hide the scratchpad
@ -311,12 +279,6 @@ Super+Control+8 - Combine the current tag with tag 8
.IP \[bu] 2
Super+Control+9 - Combine the current tag with tag 9
.IP \[bu] 2
Super+Control+q - Mutes your audio
.IP \[bu] 2
Super+Control+w - Increases your volume
.IP \[bu] 2
Super+Control+e - Decreases your volume
.IP \[bu] 2
Super+Control+0 - Tag all tags at once.
.IP \[bu] 2
Super+Control+Enter - Mirror the layout
@ -366,26 +328,8 @@ Super+Control+Shift+8 - Move the focused window to tag 8
.IP \[bu] 2
Super+Control+Shift+9 - Move the focused window to tag 9
.IP \[bu] 2
Super+Control+Shift+Esc - Open speedwm-utils (requires speedwm-extras)
.IP \[bu] 2
Super+Control+Shift+Arrow - Resize the window to the screen size.
.IP \[bu] 2
Super+Control+Shift+s - Set a wallpaper (requires speedwm-extras)
.IP \[bu] 2
Super+Control+Shift+n - Connect to WLAN using iwd (requires
speedwm-extras)
.IP \[bu] 2
Super+Control+Shift+b - Connect to a Bluetooth device using bluez
(requires speedwm-extras)
.IP \[bu] 2
Super+Control+Shift+q - Pauses your music
.IP \[bu] 2
Super+Control+Shift+w - Decreases your music volume
.IP \[bu] 2
Super+Control+Shift+e - Increase your music volume
.IP \[bu] 2
Super+Control+Shift+r - Restart speedwm
.IP \[bu] 2
Super+Control+Shift+j/k - Change window size vertically (cfact)
.IP \[bu] 2
Super+Control+Shift+Equal - Increase bar height by 1
@ -393,8 +337,6 @@ Super+Control+Shift+Equal - Increase bar height by 1
Super+Control+Shift+Minus - Decrease bar height by 1
.SS Chained keybinds
.IP \[bu] 2
Super+r & s - Run screenkey if its not running, otherwise kill it.
.IP \[bu] 2
Super+t & r - Reorganize tags and move windows
.IP \[bu] 2
Super+t & t - Toggle tag area in the bar
@ -464,41 +406,9 @@ Super+l & 0 - Set layout to layout 9
Super+Shift+g & i - Decrease inner gaps by 1
.IP \[bu] 2
Super+Shift+g & o - Decrease outer gaps by 1
.IP \[bu] 2
Super+Shift+e & a - Open the virtual keyboard
.IP \[bu] 2
Super+Shift+e & e - Open a list of all emojis and copy the selection
.IP \[bu] 2
Super+Shift+e & r - Randomize wallpaper
.IP \[bu] 2
Super+Shift+e & p - Set wallpaper to the previous
.SS These will only work if your keyboard has special multimedia buttons.
.IP \[bu] 2
Mute button - Mutes your audio
.IP \[bu] 2
Up Volume button - Increases your volume
.IP \[bu] 2
Next/Previous song button - Switch to the next/previous track
.IP \[bu] 2
Down Volume button - Decreases your volume
.IP \[bu] 2
Pause button - Pauses the current track
.IP \[bu] 2
Stop button - Stops your defined music player
.IP \[bu] 2
Browser button - Opens your defined web browser
.IP \[bu] 2
Power button - Ask if you wanna shut down, restart or lock your
computer.
(requires speedwm-extras)
.IP \[bu] 2
Email button - Open your defined email client
.IP \[bu] 2
System button - Open your defined status viewer in a terminal
.IP \[bu] 2
Music button - Open your defined music player
.IP \[bu] 2
WLAN button - Disconnect from WLAN (requires speedwm-extras)
.SS These binds can be activated using your mouse
.IP \[bu] 2
Tag (Left click) - Switch to tag
@ -517,8 +427,7 @@ layout
.IP \[bu] 2
Window title (Left click) - Show/hide the window
.IP \[bu] 2
Window title (Right click) - Open speedwm-utils (requires
speedwm-extras)
Window title (Scrolling up/down) - Move windows around in the stack.
.IP \[bu] 2
Focused window (Super+Alt+Left click) - Move the focused window around
.IP \[bu] 2
@ -531,9 +440,6 @@ Dragging (Super+Right click) - Increase/decrease size of each window
(mfact)
.IP \[bu] 2
Dragging (SuperControl+Right click) - Increase/decrease cfact
.IP \[bu] 2
Root window (Right click) - List .desktop entries and open them
(requires j4-dmenu-desktop)
.SS 5. Dependencies
.SS Required
.PP
@ -559,13 +465,13 @@ These are necessary for certain features and keybinds.
If you want to use an alternative, change it in options.h and/or
keybinds.h and mouse.h.
.IP \[bu] 2
spmenu (https://codeberg.org/speedie/spmenu)
spmenu (https://speedie.gq/projects/spmenu.php)
.RS 2
.IP \[bu] 2
As of speedwm 1.9, speedwm now expects spmenu (fork of dmenu) to be on
the system instead of dmenu.
While you can revert this change I cannot provide support due to missing
arguments.d
arguments.
.RE
.IP \[bu] 2
xrdb
@ -581,6 +487,13 @@ This build of speedwm comes with keybinds for software.
You can add, change and remove keybinds by editing \f[V]keybinds.h\f[R]
and \f[V]mouse.h\f[R] and running \f[V]make clean install\f[R].
.IP \[bu] 2
speedwm-extras
.RS 2
.IP \[bu] 2
Metapackage containing extra scripts that speedwm makes use of.
(https://codeberg.org/speedie/speedwm-extras)
.RE
.IP \[bu] 2
libspeedwm
.RS 2
.IP \[bu] 2
@ -588,44 +501,13 @@ Dependency for speedwm-extras allowing you to perform actions
externally.
.RE
.IP \[bu] 2
speedwm-extras
.RS 2
.IP \[bu] 2
Important metapackage containing extra scripts that speedwm makes use
of.
(https://codeberg.org/speedie/speedwm-extras)
.RE
.IP \[bu] 2
st - Default terminal
.IP \[bu] 2
Chromium - Default web browser
.IP \[bu] 2
htop - Status monitor
.IP \[bu] 2
newsboat - RSS reader
.IP \[bu] 2
cmus - Music player
.RS 2
.IP \[bu] 2
Default status bar also has support for moc/mocp (Music On Console)
.RE
.IP \[bu] 2
neovim - Text editor
.IP \[bu] 2
neomutt - Email client
.IP \[bu] 2
lf - File manager
.IP \[bu] 2
slock - Lock screen
.IP \[bu] 2
weechat - IRC client
.IP \[bu] 2
tmux - Used for the music player and IRC client
.IP \[bu] 2
j4-dmenu-desktop - Listing .desktop entries
.PP
And everything under \f[V]Features\f[R].
.SS 6. Important
## 6.
Important
.PP
If you\[cq]re used to dwm, speedwm might be a little unfamiliar to you
at first.