dotfiles/.xmonad/scripts/autostart.sh
2021-09-15 15:06:20 +09:00

32 lines
554 B
Bash

#!/bin/bash
function run {
if ! pgrep $1 ;
then
$@&
fi
}
(sleep 2; run $HOME/.config/polybar/launch.sh) &
# cursor
xsetroot -cursor_name left_ptr &
# background
feh --bg-fill /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg &
# other apps
run variety &
run nm-applet &
run pamac-tray &
run xfce4-power-manager &
run volumeicon &
numlockx on &
blueberry-tray &
fcitx &
picom -b --config $HOME/.xmonad/scripts/picom.conf &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
/usr/lib/xfce4/notifyd/xfce4-notifyd &
seadrive-gui &