From 75d7182cbc26fa9304889ae64d80e19335f49baa Mon Sep 17 00:00:00 2001 From: speedie Date: Fri, 18 Nov 2022 18:18:13 +0100 Subject: [PATCH] update keybinds, doc, README --- README.md | 10 ++++++---- docs/doc-07 | 6 ++++-- docs/keybinds | 4 ++-- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5bddcf1..bce6e97 100644 --- a/README.md +++ b/README.md @@ -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 -If you do not have speedwm-extras, you can use the speedwm binary itself. The syntax is speedwm -s "#cmd:" +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:" +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. diff --git a/docs/doc-07 b/docs/doc-07 index 5ba251c..a3a52fe 100644 --- a/docs/doc-07 +++ b/docs/doc-07 @@ -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 -If you do not have speedwm-extras, you can use the speedwm binary itself. The syntax is speedwm -s "#cmd:" +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:" +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. diff --git a/docs/keybinds b/docs/keybinds index 8776755..b75feec 100644 --- a/docs/keybinds +++ b/docs/keybinds @@ -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