Pi66

walrs
pywal but if its Fast-Minimal-Simple
git clone https://git.pi66.xyz/walrs

← back to log

Bug: fix issues with reloading and script execution

author: pixel2175
date: 2025-06-24 17:03
hash: 1a28c3171d5cd685b162da11c0312b836d5ccf82

Diffstat:

M

src/theme.rs
2 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/src/theme.rs b/src/theme.rs
index f4356bd..6ee8a78 100644
--- a/src/theme.rs
+++ b/src/theme.rs
@@ -87,7 +87,7 @@ pub fn set_theme(theme_name: String, send: bool, scripts: bool) {
         let rgb_colors = hex_to_rgb(file);

         create_template((rgb_colors, 100), "None", send);
-        reload(send, false, !scripts);
+        reload(send, true, scripts);
     } else {
         warning("Theme", "Can't find theme", send);
         exit(1)