40 lines
785 B
Bash
Executable File
40 lines
785 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#wallpaper fetcher and wallpaper rotator
|
|
#type "var" in a terminal to change settings - example
|
|
#variety &
|
|
|
|
SCRIPTSDIR=$HOME/.config/hypr/scripts
|
|
|
|
# Kill already running process
|
|
_ps=(waybar mako)
|
|
for _prs in "${_ps[@]}"; do
|
|
if [[ $(pidof ${_prs}) ]]; then
|
|
killall -9 ${_prs}
|
|
fi
|
|
done
|
|
|
|
# polkit agent
|
|
if [[ ! 'pidof polkit-gnome-authentication-agent-1' ]];then
|
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
|
fi
|
|
|
|
# Apply themes
|
|
${SCRIPTSDIR}/gtkthemes &
|
|
|
|
# Lauch notification daemon (mako)
|
|
${SCRIPTSDIR}/notifications &
|
|
|
|
# Lauch statusbar (waybar)
|
|
${SCRIPTSDIR}/statusbar &
|
|
|
|
# Xauthority
|
|
${SCRIPTSDIR}/xauthority &
|
|
|
|
dex $HOME/.config/autostart/arcolinux-welcome-app.desktop &
|
|
|
|
#insync start &
|
|
#dropbox &
|
|
#telegram-desktop &
|
|
#discord &
|
|
#nm-applet --indicator |