Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
788342c846 | ||
|
|
8d02c166a1 |
No files matched your search
@@ -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.
|
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:
|
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:
|
### Manual Updates:
|
||||||
|
|||||||
@@ -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)"
|
||||||
@@ -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};
|
||||||
|
}
|
||||||
@@ -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
|
||||||
@@ -122,7 +122,7 @@ export async function setTheme(wallpaperPath: string) {
|
|||||||
try {
|
try {
|
||||||
// -q: quiet, -i: image, -n: skip setting wallpaper (hyprpaper does it)
|
// -q: quiet, -i: image, -n: skip setting wallpaper (hyprpaper does it)
|
||||||
await execAsync(
|
await execAsync(
|
||||||
`wal --backend modern-colorthief -q -n -i "${wallpaperPath}"`,
|
`wal --contrast 21.0 -q -n -i "${wallpaperPath}"`,
|
||||||
)
|
)
|
||||||
|
|
||||||
// Add this line so hyprlock always knows the current wallpaper:
|
// Add this line so hyprlock always knows the current wallpaper:
|
||||||
|
|||||||
@@ -3,3 +3,6 @@
|
|||||||
#Dunst notification daemon
|
#Dunst notification daemon
|
||||||
killall dunst
|
killall dunst
|
||||||
dunst &
|
dunst &
|
||||||
|
|
||||||
|
hyprctl reload
|
||||||
|
|
||||||
Reference in new issue
Block a user