dotfiles/scripts/autostart.sh

22 lines
584 B
Bash
Raw Normal View History

2022-03-17 23:48:16 +01:00
#!/bin/sh
function run {
if ! pgrep $1 > /dev/null ;
then
$@&
fi
}
#feh --bg-scale /usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png
nitrogen --save --set-zoom-fill ~/Pictures/Wallpapers/default.jpg
run picom & disown # --experimental-backends --vsync should prevent screen tearing on most setups if needed
# Low battery notifier
#~/.config/qtile/scripts/check_battery.sh & disown
# Start welcome
#run eos-welcome & disown
$HOME/.config/polybar/launch.sh & disown
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & disown # start polkit agent from GNOME