pywal
This commit is contained in:
parent
31f3b9e1b2
commit
c5cfc8791f
2 changed files with 13 additions and 2 deletions
11
.scripts/pywal-swww.sh
Executable file
11
.scripts/pywal-swww.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
||||||
|
# -n tells `wal` to skip setting the wallpaper.
|
||||||
|
wal -i ~/Wallpapers/ -n
|
||||||
|
|
||||||
|
# Using feh to tile the wallpaper now.
|
||||||
|
# We grab the wallpaper location from wal's cache so
|
||||||
|
# that this works even when a directory is passed.
|
||||||
|
swww img "$(< "${HOME}/.cache/wal/wal")" --transition-type wipe --transition-angle 45 --transition-fps 90
|
||||||
|
|
||||||
|
# Copy cava and update config
|
||||||
|
cp ~/.cache/wal/cava-config ~/dotfiles/cava/config && pkill -USR2 cava
|
||||||
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
"custom/swaync",
|
"custom/swaync",
|
||||||
],
|
],
|
||||||
"custom/os": {
|
"custom/os": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "~/.config/rofi/scripts/powermenu_t1",
|
"on-click": "~/.config/rofi/scripts/powermenu_t1",
|
||||||
},
|
},
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
|
|
@ -132,7 +132,7 @@
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"tooltip-format": "Change Wallpaper",
|
"tooltip-format": "Change Wallpaper",
|
||||||
"on-click": "pywal",
|
"on-click": "~/dotfiles/.scripts/pywal-swww.sh",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"default": "",
|
"default": "",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue