Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
- eval `dbus-launch --sh-syntax --exit-with-session`
- fi
- xrdb -merge ~/.Xresources
- #feh --bg-fill ~/img/wallpapers/blue_butterflies.jpg
- #compton --config .config/compton.conf &
- #killall polybar
- #polybar example -r &
- if upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -P "(?<=state:)\s*(charging|fully-charged)"; then
- swaymsg "workspace 8; exec /usr/bin/termite -e 'mutt'"
- swaymsg "workspace 9; spotify &"
- swaymsg "workspace 7; exec /usr/bin/termite -e 'vtop -t seti'"
- swaymsg "workspace 7; exec /usr/bin/termite -e 'slurm -z -i wlp3s0 -L -t foo'"
- fi
- # xrandr --output eDP1 --auto && xrandr --output DP2 --above eDP1 && feh --bg-fill img/wallpapers/blue_butterflies.jpg
Add Comment
Please, Sign In to add comment