2024-12-13 17:30 : id 482
This commit is contained in:
parent
669520cc66
commit
22cfdcc29e
@ -1,7 +1,7 @@
|
||||
{config, pkgs, lib, ... }:
|
||||
let
|
||||
# Theme/Mode
|
||||
THEME = "nord";
|
||||
THEME = "gruvbox";
|
||||
MODE = "dark";
|
||||
|
||||
# Colours
|
||||
@ -115,6 +115,7 @@ in
|
||||
DARK_PURPLE="${DARK_PURPLE}"
|
||||
CYAN="${CYAN}"
|
||||
DARK_CYAN="${DARK_CYAN}"
|
||||
ACCENT="${ACCENT}"
|
||||
|
||||
# GTK
|
||||
GTK_THEME="${GTK_THEME}";
|
||||
@ -131,8 +132,8 @@ in
|
||||
if [[ "$new_file" != "$file" ]]; then
|
||||
source $HOME/theme.sh
|
||||
magick ${WALLPAPER_PATH} \
|
||||
-fuzz 10% -fill "#''${BG}" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{0,0}]" info:-)" \
|
||||
-fuzz 10% -fill "#''${ACCENT}" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{3475,1627}]" info:-)" \
|
||||
-fuzz 10% -fill "#$BG" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{0,0}]" info:-)" \
|
||||
-fuzz 10% -fill "#$ACCENT" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{3475,1627}]" info:-)" \
|
||||
${WALLPAPER_PATH}
|
||||
oldid=$(pgrep wpaperd)
|
||||
wpaperd &
|
||||
|
Loading…
Reference in New Issue
Block a user