aboutsummaryrefslogtreecommitdiff
path: root/scripts/.local/bin/personal/rica
blob: 81c05757884b21f24394f609c0b8d2046fa11785 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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 &