diff options
author | mono-b <monoblanco@DRAINERDOMAIN.localdomain> | 2022-12-24 08:48:23 -0300 |
---|---|---|
committer | mono-b <monoblanco@DRAINERDOMAIN.localdomain> | 2022-12-24 08:48:23 -0300 |
commit | 51c9b070ed3dcddfec84943be08e1c2a03e8307f (patch) | |
tree | 0b3c97a9ea41b012db2a252fcfde7808b0353ac4 /waldunst.sh | |
parent | abd2b4e8990c054013057401cb67a985066cb41c (diff) |
Diffstat (limited to 'waldunst.sh')
-rwxr-xr-x | waldunst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/waldunst.sh b/waldunst.sh new file mode 100755 index 0000000..7b116e7 --- /dev/null +++ b/waldunst.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +bg=$(sed -n 1p $HOME/.cache/wal/colors) +fg=$(sed -n 15p $HOME/.cache/wal/colors) +cfg=$HOME/.config/dunst/dunstrc + +kill $(pidof dunst) +sed -i "s/background = \"#[0-9].*\"/background = \"$bg\"/g" "$cfg" +sed -i "s/foreground = \"#[0-9].*\"/foreground = \"$fg\"/g" "$cfg" |