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:
@@ -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
3
Scripts/.local/scripts/browser
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
xdg-open "https://127.0.0.1"
|
||||
13
Scripts/.local/scripts/spawn_everything
Executable file
13
Scripts/.local/scripts/spawn_everything
Executable 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
|
||||
Reference in New Issue
Block a user