Added script for manual updates of applications and their theme.

This commit is contained in:
pascalyazid committed 2026-04-09 10:21:50 +02:00
1 parent a33d8d6ac5
commit 9dd843a188
3 files changed
+18

No files matched your search

+4
View File
@@ -64,6 +64,10 @@ Because this shell uses **Pywal**, you can easily inject the dynamically generat
Whenever you change the wallpaper via the AGS bar, Pywal updates the color templates inside `~/.cache/wal/`. Here is how to apply them to other apps: Whenever you change the wallpaper via the AGS bar, Pywal updates the color templates inside `~/.cache/wal/`. Here is how to apply them to other apps:
### Manual Updates:
If your application needs to be restartet to update its themes, place the needed commands in the update_script.sh. An example for the dunst notification daemon is already in there.
### Example 1: Kitty Terminal ### Example 1: Kitty Terminal
Kitty has built-in Pywal support. Pywal automatically generates a `.conf` file for it. Just add this single line anywhere in your `~/.config/kitty/kitty.conf`: Kitty has built-in Pywal support. Pywal automatically generates a `.conf` file for it. Just add this single line anywhere in your `~/.config/kitty/kitty.conf`:
+9
View File
@@ -164,4 +164,13 @@ export async function setTheme(wallpaperPath: string) {
} catch (error) { } catch (error) {
console.error("Failed to recompile and apply AGS styles:", error) console.error("Failed to recompile and apply AGS styles:", error)
} }
// 4. Run update script
try {
const agsDir = `${HOME}/.config/ags`
await execAsync(`${agsDir}/update_script.sh`)
console.log("Ran update script")
} catch (error) {
console.error("Failed to run update script:", error)
}
} }
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
#Dunst notification daemon
killall dunst
dunst &