Two new scripts with bindings in sxhkd

browser: open http://loopback via xdg-open (allows us to abstract away
details and reuse the script)

spawn_everything: launch all the stuff I require for my full desktop
experience on boot.
This commit is contained in:
2025-10-26 13:57:08 +00:00
parent 56afe2e109
commit bb4c5af86c
3 changed files with 21 additions and 1 deletions

View File

@@ -9,9 +9,13 @@ super + a
super + e
$HOME/.local/scripts/eselect;
super + E
notify-send -u low "Launching basic"; \
$HOME/.local/scripts/spawn_everything;
super + s
notify-send -u low "Launching browser"; \
xdg-open "https://duckduckgo.com";
$HOME/.local/scripts/browser;
super + C
dunstctl close;

3
Scripts/.local/scripts/browser Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
xdg-open "https://127.0.0.1"

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env sh
processes="st btop
emacsclient -c -a emacs
$HOME/.local/scripts/browser
steam
spotify"
printf '%s\n' "$processes" | \
while IFS= read -r proc; do
$proc & disown
done