#!/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" xrdb -merge "$HOME/.cache/wal/colors.Xresources" xrdb -merge "$HOME/.Xresources" # relevant=("dunst/dunstrc" "zathura/zathurarc" "flameshot/flameshot.ini") # relevant=() # for file in ${relevant[@]}; do # cp "$cache/$(basename $file)" "$config/$file" # done pkill dunst; dunst & pkill polybar; polybar &