mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 09:47:57 +02:00
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
|
VBoxClient-all
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set the color scheme to a sane default.
|
# Use the previous color scheme if present. Otherwise use a sane default.
|
||||||
wal -o ~/.config/wal/done.sh --theme base16-tomorrow-night
|
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)
|
# Never blank the screen (disable power saving)
|
||||||
xset s off -dpms
|
xset s off -dpms
|
||||||
|
Loading…
x
Reference in New Issue
Block a user