mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-16 13:23:09 +01:00
d4740a92c1
Before pkill would try to terminate the script since it had "dunst" in its name. This is the solution for that, and it also makes adding new commands in the future easier.
15 lines
378 B
Bash
15 lines
378 B
Bash
#!/bin/sh
|
|
|
|
# Source the colors from wal
|
|
source "${HOME}/.cache/wal/colors.sh"
|
|
|
|
# Set the border colors
|
|
bspc config normal_border_color "$color1"
|
|
bspc config active_border_color "$color2"
|
|
bspc config focused_border_color "$color15"
|
|
bspc config presel_feedback_color "$color1"
|
|
|
|
# Restart dunst with the new color scheme
|
|
pkill dunst
|
|
dunst -conf "${HOME}/.cache/wal/dunstrc" &
|