viscolourchanger/viscolourchanger

25 lines
354 B
Plaintext
Raw Normal View History

2019-06-03 16:50:27 +00:00
#!/bin/sh
# Generates vis colour file
2019-06-03 16:54:21 +00:00
# source the current wal colour scheme
2019-06-03 16:50:27 +00:00
source $HOME/.cache/wal/colors.sh
2019-06-03 16:54:21 +00:00
#assign the variables in the wal scheme in vis' format
2019-06-03 16:50:27 +00:00
cat > $HOME/.config/vis/colors/wal <<CONF
$color1
$color2
$color3
$color4
$color5
$color6
$color7
$color8
$color9
$color10
$color11
$color12
CONF
2019-06-03 16:54:21 +00:00
# reload vis' config
killall -USR1 vis