update keybinds, doc, README

This commit is contained in:
speedie 2022-11-18 18:18:13 +01:00
parent fcb21e17ab
commit 75d7182cbc
3 changed files with 12 additions and 8 deletions

View file

@ -59,7 +59,7 @@ Please let me know if any keybinds are missing as these have been manually added
- 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+d - Opens iron in the terminal if it is installed.
- Super+Shift+d - Opens iron in the terminal if it is installed
- Super+Shift+u - Opens the defined RSS reader
- Super+Shift+r - Opens the defined email client
@ -67,7 +67,7 @@ Please let me know if any keybinds are missing as these have been manually added
These keybinds are for navigating speedwm
- Super+f - Full-screen the selected window
- Super+f - Fullscreen the selected window
- Super+b - Show/hide the speedwm bar
- Super+s - Show/hide the systray
- Super+j/k - Move focus between visible windows
@ -478,8 +478,10 @@ If it is not or you want it somewhere else, you can edit 'autostart.h' and 'make
Thanks to the 'fsignal' patch available on suckless.org's website, we can easily write shell scripts to interact with dwm and therefore speedwm.
I made some changes to this patch, because it has some.. questionable behaviour in my opinion.
To use signals, if you have speedwm-extras, simply use the speedwm-utils script. Syntax is speedwm-utils -exec <signum>
If you do not have speedwm-extras, you can use the speedwm binary itself. The syntax is speedwm -s "#cmd:<signum>"
To use signals, you can use libspeedwm. Previously, speedwm-utils (part of speedwm-extras) would be used but that now depends on libspeedwm anyway. Using libspeedwm directly is the easiest option.
If you do not have speedwm-extras or libspeedwm, you can use the speedwm binary itself. The syntax is speedwm -s "#cmd:<signum>"
This option is not as solid though as signums can and will likely be moved around breaking your scripts. Therefore I highly recommend you use libspeedwm when writing scripts.
Below is a list of all signums and what they do.

View file

@ -3,8 +3,10 @@
Thanks to the 'fsignal' patch available on suckless.org's website, we can easily write shell scripts to interact with dwm and therefore speedwm.
I made some changes to this patch, because it has some.. questionable behaviour in my opinion.
To use signals, if you have speedwm-extras, simply use the speedwm-utils script. Syntax is speedwm-utils -exec <signum>
If you do not have speedwm-extras, you can use the speedwm binary itself. The syntax is speedwm -s "#cmd:<signum>"
To use signals, you can use libspeedwm. Previously, speedwm-utils (part of speedwm-extras) would be used but that now depends on libspeedwm anyway. Using libspeedwm directly is the easiest option.
If you do not have speedwm-extras or libspeedwm, you can use the speedwm binary itself. The syntax is speedwm -s "#cmd:<signum>"
This option is not as solid though as signums can and will likely be moved around breaking your scripts. Therefore I highly recommend you use libspeedwm when writing scripts.
Below is a list of all signums and what they do.

View file

@ -14,7 +14,7 @@
- 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+d - Opens iron in the terminal if it is installed.
- Super+Shift+d - Opens iron in the terminal if it is installed
- Super+Shift+u - Opens the defined RSS reader
- Super+Shift+r - Opens the defined email client
@ -22,7 +22,7 @@
These keybinds are for navigating speedwm
- Super+f - Full-screen the selected window
- Super+f - Fullscreen the selected window
- Super+b - Show/hide the speedwm bar
- Super+s - Show/hide the systray
- Super+j/k - Move focus between visible windows