Add scripts
This commit is contained in:
parent
53136b744f
commit
b77ca1f382
12
.gitmodules
vendored
12
.gitmodules
vendored
|
@ -1,3 +1,15 @@
|
||||||
[submodule "spmenu"]
|
[submodule "spmenu"]
|
||||||
path = spmenu
|
path = spmenu
|
||||||
url = https://git.speedie.site/speedie/spmenu
|
url = https://git.speedie.site/speedie/spmenu
|
||||||
|
[submodule "scripts/clipmenu-spmenu"]
|
||||||
|
path = scripts/clipmenu-spmenu
|
||||||
|
url = https://git.speedie.site/speedie/clipmenu-spmenu
|
||||||
|
[submodule "scripts/pirokit-spmenu"]
|
||||||
|
path = scripts/pirokit-spmenu
|
||||||
|
url = https://git.speedie.site/speedie/pirokit-spmenu.git
|
||||||
|
[submodule "scripts/screenshot-spmenu"]
|
||||||
|
path = scripts/screenshot-spmenu
|
||||||
|
url = https://git.speedie.site/speedie/screenshot-spmenu.git
|
||||||
|
[submodule "scripts/wallpaper-spmenu"]
|
||||||
|
path = scripts/wallpaper-spmenu
|
||||||
|
url = https://git.speedie.site/speedie/wallpaper-spmenu.git
|
||||||
|
|
22
README.md
22
README.md
|
@ -3,8 +3,30 @@
|
||||||
These are my builds of suckless software such as dwm and st.
|
These are my builds of suckless software such as dwm and st.
|
||||||
It's simple to compile these things.
|
It's simple to compile these things.
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
Additionals are spmenu configs made by myself, as well as scripts for `spmenu_run`. If you prefer dmenu, it still exists, and could be launched via `Win/Super/Cmd+Alt+S`, while `Win/Super/Cmd+S` would launch `spmenu_run -d` by default (only with .desktop entries, while `Win/Super/Cmd+Shift+S` would launch `spmenu_run` in a similar fashion to dmenu.
|
Additionals are spmenu configs made by myself, as well as scripts for `spmenu_run`. If you prefer dmenu, it still exists, and could be launched via `Win/Super/Cmd+Alt+S`, while `Win/Super/Cmd+S` would launch `spmenu_run -d` by default (only with .desktop entries, while `Win/Super/Cmd+Shift+S` would launch `spmenu_run` in a similar fashion to dmenu.
|
||||||
|
|
||||||
|
Some user scripts are also included, which has it's own set of dependencies. For example, `clipmenu-spmenu` needs `xsel` and `clipnotify`. These are optional, however.
|
||||||
|
|
||||||
|
```
|
||||||
|
clipmenu-spmenu dependencies:
|
||||||
|
- xsel
|
||||||
|
- clipnotify (included on the folder)
|
||||||
|
|
||||||
|
screenshot-spmenu dependencies:
|
||||||
|
- curl
|
||||||
|
- xclip (X11)
|
||||||
|
- maim (X11)
|
||||||
|
- wayshot (Wayland)
|
||||||
|
- wl-clipboard (Wayland)
|
||||||
|
- slurp (Wayland)
|
||||||
|
|
||||||
|
wallpaper-spmenu dependencies:
|
||||||
|
- xwallpaper
|
||||||
|
```
|
||||||
|
## Building
|
||||||
|
|
||||||
1. Install necessary tools and libraries
|
1. Install necessary tools and libraries
|
||||||
```
|
```
|
||||||
Linux/Unix users:
|
Linux/Unix users:
|
||||||
|
|
|
@ -103,6 +103,12 @@ static Key keys[] = {
|
||||||
{ Mod4Mask, XK_s, spawn, SHCMD("spmenu_run -d -a '-g 4 -l 10'") },
|
{ Mod4Mask, XK_s, spawn, SHCMD("spmenu_run -d -a '-g 4 -l 10'") },
|
||||||
{ Mod4Mask|ShiftMask, XK_s, spawn, SHCMD("spmenu_run -a '-g 4 -l 10'") },
|
{ Mod4Mask|ShiftMask, XK_s, spawn, SHCMD("spmenu_run -a '-g 4 -l 10'") },
|
||||||
{ Mod4Mask|Mod1Mask, XK_s, spawn, SHCMD("dmenu_run -fn 'Hack Nerd Font:size=14' -nb '#173f4f' -nf '#ffffff' -sb '#124f5f' -sf '#eeeeee' -g 6 -l 6") },
|
{ Mod4Mask|Mod1Mask, XK_s, spawn, SHCMD("dmenu_run -fn 'Hack Nerd Font:size=14' -nb '#173f4f' -nf '#ffffff' -sb '#124f5f' -sf '#eeeeee' -g 6 -l 6") },
|
||||||
|
/* needs spmenu */
|
||||||
|
{ Mod4Mask, XK_v, spawn, SHCMD("clipmenu-spmenu") },
|
||||||
|
{ Mod4Mask|ShiftMask, XK_Print, spawn, SHCMD("screenshot-spmenu -f") },
|
||||||
|
{ Mod4Mask|Mod1Mask, XK_Print, spawn, SHCMD("screenshot-spmenu -s") },
|
||||||
|
{ Mod4Mask, XK_p, spawn, SHCMD("pirokit") },
|
||||||
|
{ Mod4Mask|ShiftMask, XK_w, spawn, SHCMD("wallpaper-spmenu") },
|
||||||
{ MODKEY|ShiftMask, XK_Return, spawn, SHCMD("st -e") },
|
{ MODKEY|ShiftMask, XK_Return, spawn, SHCMD("st -e") },
|
||||||
{ MODKEY|ShiftMask, XK_t, spawn, SHCMD("tabbed -r 2 st -w ''") },
|
{ MODKEY|ShiftMask, XK_t, spawn, SHCMD("tabbed -r 2 st -w ''") },
|
||||||
{ MODKEY|ShiftMask, XK_i, spawn, SHCMD("firefox") },
|
{ MODKEY|ShiftMask, XK_i, spawn, SHCMD("firefox") },
|
||||||
|
|
1
scripts/clipmenu-spmenu
Submodule
1
scripts/clipmenu-spmenu
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 8a97407e64a0d81c64ce855e1cbc942beb2db6af
|
1
scripts/pirokit-spmenu
Submodule
1
scripts/pirokit-spmenu
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit af65148b3db7d1ba36e7a8e9f848491e5f5e2cd2
|
1
scripts/screenshot-spmenu
Submodule
1
scripts/screenshot-spmenu
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 806e4373a75533ab18ddcad922883a07f1287329
|
1
scripts/wallpaper-spmenu
Submodule
1
scripts/wallpaper-spmenu
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e708901453584800cf6b10aa9ec64dc79ea901b4
|
Loading…
Reference in a new issue