1
0
Fork 0

new autostart mechanism

This commit is contained in:
Luca Bilke 2024-02-04 12:29:27 +01:00
parent 30eadb8039
commit 7e49678660
11 changed files with 20 additions and 26 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
gpgconf --launch gpg-agent

View File

@ -0,0 +1,2 @@
#!/bin/sh
pipewire

View File

@ -0,0 +1,2 @@
#!/bin/sh
dunst

View File

@ -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 &

View File

@ -0,0 +1,2 @@
#!/bin/sh
env PATH="$HOME/.local/libexec/statusbar:$PATH" dwmblocks

View File

@ -0,0 +1,2 @@
#!/bin/sh
unclutter -noevents -idle 3

View File

@ -0,0 +1,2 @@
#!/bin/sh
runsvdir $SVDIR

View File

@ -0,0 +1,2 @@
#!/bin/sh
lf -server

View File

@ -0,0 +1,3 @@
#!/bin/sh
xwallpaper --zoom "$XDG_DATA_HOME/bg"
remaps -qd

View File

@ -0,0 +1,2 @@
#!/bin/sh
syncthingtray

View File

@ -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