new autostart mechanism
This commit is contained in:
parent
30eadb8039
commit
7e49678660
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
gpgconf --launch gpg-agent
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
pipewire
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
dunst
|
|
@ -1,14 +1,4 @@
|
|||
#!/bin/sh
|
||||
# This script is executed by DWM on start.
|
||||
|
||||
SIGINT=2 SIGTERM=15
|
||||
trap 'trap - SIGTERM && kill -- -$$' $SIGINT $SIGTERM EXIT
|
||||
|
||||
start() {
|
||||
pidof -sx "$1" || "$@" &
|
||||
}
|
||||
|
||||
# Set up xsecurelock
|
||||
xset s 300
|
||||
env \
|
||||
XSECURELOCK_AUTH_BACKGROUND_COLOR="#24283b" \
|
||||
|
@ -27,18 +17,3 @@ env \
|
|||
XSECURELOCK_SHOW_USERNAME=1 \
|
||||
XSECURELOCK_SHOW_HOSTNAME=1 \
|
||||
xss-lock -n /usr/libexec/xsecurelock/dimmer -l -- sh -c "xsecurelock -- playerctl pause || kill -9 -1" &
|
||||
|
||||
[ -r "$XDG_CONFIG_HOME/dwm/host.sh" ] && "$XDG_CONFIG_HOME/dwm/host.sh" &
|
||||
|
||||
xwallpaper --zoom "$XDG_DATA_HOME/bg"
|
||||
remaps -qd
|
||||
|
||||
start unclutter -noevents &
|
||||
start gpgconf --launch gpg-agent
|
||||
start picom
|
||||
start pipewire
|
||||
start dunst
|
||||
start checkup
|
||||
start syncthingtray
|
||||
|
||||
killall dwmblocks; env PATH="$HOME/.local/libexec/statusbar:$PATH" dwmblocks &
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
env PATH="$HOME/.local/libexec/statusbar:$PATH" dwmblocks
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
unclutter -noevents -idle 3
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
runsvdir $SVDIR
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
lf -server
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
xwallpaper --zoom "$XDG_DATA_HOME/bg"
|
||||
remaps -qd
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
syncthingtray
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
|
||||
exec syncthing --no-browser --logfile="$HOME/.local/log/syncthing.log" >/dev/null
|
||||
exec syncthing --no-browser >/dev/null
|
||||
|
|
Loading…
Reference in New Issue