Attach polybar restart script to xresources
This commit is contained in:
parent
14c69c674b
commit
69e0be77d5
1 changed files with 5 additions and 0 deletions
|
@ -68,6 +68,11 @@ switch_xresources_theme() {
|
||||||
local x_dir="${XDG_CONFIG_HOME:-/$HOME/.config}/xresources"
|
local x_dir="${XDG_CONFIG_HOME:-/$HOME/.config}/xresources"
|
||||||
|
|
||||||
xrdb -load "$x_dir/Xresources"
|
xrdb -load "$x_dir/Xresources"
|
||||||
|
restart_custom_applications
|
||||||
|
}
|
||||||
|
|
||||||
|
restart_custom_applications() {
|
||||||
|
type polybar-launch >/dev/null 2>&1 && polybar-launch simple-top
|
||||||
}
|
}
|
||||||
|
|
||||||
set_xresources_theme() {
|
set_xresources_theme() {
|
||||||
|
|
Loading…
Reference in a new issue