diff --git a/docs/dependencies b/docs/dependencies index 2296c91..3aade73 100644 --- a/docs/dependencies +++ b/docs/dependencies @@ -19,7 +19,6 @@ - xwallpaper (Required to set wallpapers) - xmodmap - Required if you want the Alt+Tab to have proper keybinds. - - Install if you want Escape instead of Caps Lock and Right Super+hjkl for arrow keys - xrdb (Install if you want .Xresources support) - pywal (Install if you want pywal support. Requires swal aka the default way to set wallpapers) - wmctrl (Needed for proper window management) @@ -28,6 +27,8 @@ - If you want to display a message, you need the text patch. - If you have the background image patch, you can set the image to ~/.config/speedwm-de/swal/CurrentWallpaper. It is a symlink to the current wallpaper. - maim (Required for built in 'speedwm-screenshotutil' script) + - j4-dmenu-desktop + - Required for dmenu desktop entries. speedwm will not prevent installation without this because it doesn't provide much functionality. -- Software -- This build of speedwm comes with binds for software. diff --git a/docs/keybinds b/docs/keybinds index 9c1387e..f67bdd5 100644 --- a/docs/keybinds +++ b/docs/keybinds @@ -42,6 +42,7 @@ - Super+Enter | Switch order of windows - Super+Shift+q | Close the current window - Super+Space | Set layout + - Super+Colon | Open a list of desktop entries in dmenu - Super+r | Reset number of masters - Super+t | Disable inactive fade - Super+Shift+Equal | Toggle scratchpads @@ -77,6 +78,7 @@ - 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+Shift+Colon | Open a list of extra software in dmenu - Super+Control+q | Mutes your audio - Super+Control+w | Increases your volume - Super+Control+e | Decreases your volume @@ -112,6 +114,7 @@ - Alt+Control+j/k | Change window size vertically (cfact) -- Chained keybinds -- + - Super+c & w | Curl wttr.in and open in less - Super+c & m | Ask the user for a topic and curl cheat.sh - Super+c & n | Switch to the next track @@ -162,6 +165,7 @@ - Focused window title (Middle click) | Rotate stack - Dragging (Super+Right click) | Increase/decrease size of each window - Dragging (SuperControl+Right click) | Increase/decrease cfact + - Root window (Right click) | List .desktop entries and open them There are also keybinds for statuscmd, but you must implement it into your own status bar. See mouse.h for more information. diff --git a/keybinds.h b/keybinds.h index ab56aa8..423a07e 100644 --- a/keybinds.h +++ b/keybinds.h @@ -30,6 +30,7 @@ static const Key keys[] = { /* Application keybinds */ { MODIFIER1|SHIFT, -1, XK_semicolon, spawn, RCMD(RUN) }, + { MODIFIER1, -1, XK_semicolon, spawn, RCMD(RUN_DESKTOP) }, { MODIFIER1|CONTROL|SHIFT, -1, XK_semicolon, spawn, RCMD(RUN_ALT) }, { MODIFIER1|SHIFT, -1, XK_Return, spawn, RCMD(TERMINAL) }, { MODIFIER1|SHIFT, -1, XK_s, spawn, RCMD(SCREENSHOT) }, diff --git a/mouse.h b/mouse.h index 8cf421c..062a6a4 100644 --- a/mouse.h +++ b/mouse.h @@ -23,6 +23,7 @@ static const Button buttons[] = { { ClkStatusText, 0, Button3, spawn, {.v = statuscmd } }, { ClkWinTitle, 0, Button1, togglewin, {0} }, { ClkWinTitle, 0, Button3, spawn, RCMD("speedwm-utils") }, + { ClkRootWin, 0, Button3, spawn, RCMD(RUN_DESKTOP) }, { ClkTagBar, 0, Button1, view, {0} }, }; diff --git a/options.h b/options.h index 1628e02..211c700 100644 --- a/options.h +++ b/options.h @@ -54,6 +54,7 @@ #define EDITOR "nvim" /* Text editor to use */ #define RUN "dmenu_run -l 0 -p 'Run:'" /* Run launcher */ #define RUN_ALT "speedwm-applist" /* Alternative run launcher */ +#define RUN_DESKTOP "j4-dmenu-desktop --term=st --dmenu='dmenu -l 20 -p Open'" #define SCREENSHOT "speedwm-screenshotutil -s" /* How to take screenshots (Selection) */ #define SCREENSHOT_FULL "speedwm-screenshotutil -f" /* How to take screenshots (Full screen) */ #define FILEMANAGER "vifmrun || vifm" /* File manager that will be used */