From 95b8d3eafc4c0dcbd8031f98d87e41b706e19dc3 Mon Sep 17 00:00:00 2001 From: Caesar Date: Sat, 16 May 2020 19:44:25 -0300 Subject: [PATCH] Changed how themes are applied - Now it is not needed to restart i3wm everytime the theme changes - Polybar is now restarted separately to apply the changes --- i3wm-themer | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/i3wm-themer b/i3wm-themer index e4a449d3..08aa0bb9 100755 --- a/i3wm-themer +++ b/i3wm-themer @@ -66,7 +66,8 @@ function restartApps(){ pkill dunst nitrogen --restore xrdb ${CONFIG_PATH['xresources']} - i3-msg restart + i3-msg reload + . $XDG_CONFIG_HOME/polybar/i3wmthemer_bar_launch.sh notify-send "Theme applied successfully!" }