blob: fe9a2ff841473ee3b016fb3c64d5b35a9434df5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
# A script to update the colors in config files of stubborn programs for easy ricing.
# By David Penkowoj, 2022-03-18
cache="$HOME/.cache/wal"
config="$HOME/.config"
relevant=("dunst/dunstrc" "zathura/zathurarc" "flameshot/flameshot.ini")
xrdb -merge "$HOME/.cache/wal/colors.Xresources"
xrdb -merge "$HOME/.Xresources"
for file in ${relevant[@]}; do
cp "$cache/$(basename $file)" "$config/$file"
done
killall dunst
|