diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | autostart.sh | 47 |
2 files changed, 11 insertions, 37 deletions
@@ -144,6 +144,7 @@ dde-printer.ini dconf/ cordless/config.json configstore/ +computerrc.sh computerrc companion/ coc/extensions/db.json diff --git a/autostart.sh b/autostart.sh index b8d1aa5..38d0a79 100755 --- a/autostart.sh +++ b/autostart.sh @@ -8,44 +8,17 @@ runifnot () { fi } -runifnot `crcparse snd` -if type mpd >/dev/null; then - runifnot mpd -elif type musicpd >/dev/null; then - runifnot musicpd -fi -#pkill pipewire ; pkill pipewire-pulse ; pkill wireplumber ; snd.sh & runifnot picom runifnot mpd-mpris -network unix runifnot mpd-notification -runifnot transmission-daemon -#runifnot dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus -runifnot openrazer-daemon -razer-cli -e static -#runifnot nextcloud -if [ -z "$WAYLAND_DISPLAY" ]; then - runifnot xss-lock -n notify-send slockd - #if pgrep -x swhkd; then - # doas killall swhkd && pkexec swhkd - #fi - #pkexec swhkd & - #runifnot swhks - runifnot sxhkd - runifnot dunst - runifnot caffeine-ng - if [ "$(crcparse WM)" = "$(which xmonad)" ]; then - runifnot stalonetray - fi - xwallpaper --zoom ~/background.jpg - setxkbmap -option "caps:escape" -else - toggle swaybg -i ~/background.jpg - gsettings set org.gnome.desktop.interface gtk-theme Sweet-Dark-v40 - gsettings set org.gnome.desktop.interface icon-theme Paper-Mono-Dark - runifnot swayidle -w - hotkeys.sh - runifnot mako - if [ "$(crcparse WC)" != "$(which qtile)" ]; then - runifnot waybar - fi +runifnot xss-lock slockd +runifnot sxhkd +runifnot dunst +runifnot caffeine +if [ "$(crcparse WM)" = "$(which xmonad)" ]; then + runifnot stalonetray fi +xwallpaper --zoom ~/background.jpg +setxkbmap -option "caps:escape" + +[ -x "$XDG_CONFIG_HOME/computerrc.sh" ] && "$XDG_CONFIG_HOME/computerrc.sh" |