forked from extern/nix-config
bspwm: Use the previous color scheme if present
This makes it possible to keep a preferred color scheme across boots.
This commit is contained in:
parent
7178f19424
commit
aeb87d3026
@ -46,8 +46,12 @@ if hash VBoxClient-all 2>/dev/null; then
|
||||
VBoxClient-all
|
||||
fi
|
||||
|
||||
# Set the color scheme to a sane default.
|
||||
wal -o ~/.config/wal/done.sh --theme base16-tomorrow-night
|
||||
# Use the previous color scheme if present. Otherwise use a sane default.
|
||||
if [ -e ~/.cache/wal/colors.json ]; then
|
||||
wal -o ~/.config/wal/done.sh -R
|
||||
else
|
||||
wal -o ~/.config/wal/done.sh --theme base16-tomorrow-night
|
||||
fi
|
||||
|
||||
# Never blank the screen (disable power saving)
|
||||
xset s off -dpms
|
||||
|
Loading…
Reference in New Issue
Block a user