diff --git a/README.md b/README.md index 3e92b0a..8cb754b 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ _(Note: The shell is configured to automatically restore your last used wallpape Because this shell uses **Pywal**, you can easily inject the dynamically generated colors into almost any other application on your system. +Pywal applies the colors to config files located in `~/.config/wal/templates`. Examples can be found in this repos templates folder. + 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: diff --git a/templates/colors-hyprland.lua b/templates/colors-hyprland.lua new file mode 100644 index 0000000..445b792 --- /dev/null +++ b/templates/colors-hyprland.lua @@ -0,0 +1,21 @@ +var_wallpaper = "{wallpaper}" + +var_foreground = "rgba({foreground.rgb},1.0)" +var_background = "rgba({background.rgb},1.0)" + +var_color0 = "rgba({color0.rgb},1.0)" +var_color1 = "rgba({color1.rgb},1.0)" +var_color2 = "rgba({color2.rgb},1.0)" +var_color3 = "rgba({color3.rgb},1.0)" +var_color4 = "rgba({color4.rgb},1.0)" +var_color5 = "rgba({color5.rgb},1.0)" +var_color6 = "rgba({color6.rgb},1.0)" +var_color7 = "rgba({color7.rgb},1.0)" +var_color8 = "rgba({color8.rgb},1.0)" +var_color9 = "rgba({color9.rgb},1.0)" +var_color10 = "rgba({color10.rgb},1.0)" +var_color11 = "rgba({color11.rgb},1.0)" +var_color12 = "rgba({color12.rgb},1.0)" +var_color13 = "rgba({color13.rgb},1.0)" +var_color14 = "rgba({color14.rgb},1.0)" +var_color15 = "rgba({color15.rgb},1.0)" \ No newline at end of file diff --git a/templates/colors-rofi-custom.rasi b/templates/colors-rofi-custom.rasi new file mode 100644 index 0000000..e4db0fa --- /dev/null +++ b/templates/colors-rofi-custom.rasi @@ -0,0 +1,17 @@ +* { + /* Base Colors */ + background: #{background.strip}D9; /* D9 = ~85% opacity. Use 99 for 60% or CC for 80% */ + background-solid: {background}; + foreground: {foreground}; + + /* Accent Colors */ + color0: {color0}; + color1: {color1}; + color2: {color2}; + color3: {color3}; + color4: {color4}; + color5: {color5}; + color6: {color6}; + color7: {color7}; + color8: {color8}; +} diff --git a/templates/dunstrc b/templates/dunstrc new file mode 100644 index 0000000..c58752b --- /dev/null +++ b/templates/dunstrc @@ -0,0 +1,22 @@ +[global] + # Define the corner radius in pixels. + # A value of 0 disables rounded corners. + corner_radius = 10 + +[urgency_low] + background = "{background}CC" + foreground = "{foreground}" + frame_color = "{color2}" + timeout = 10 + +[urgency_normal] + background = "{background}CC" + foreground = "{foreground}" + frame_color = "{color1}" + timeout = 10 + +[urgency_critical] + background = "{background}CC" + foreground = "{foreground}" + frame_color = "{color9}" + timeout = 0 \ No newline at end of file