add dark/light theme scripts & gtk+qt pywal integration
This commit is contained in:
parent
f1783fd5bc
commit
9966012ddf
4 changed files with 33 additions and 6 deletions
9
menu
9
menu
|
|
@ -34,8 +34,13 @@
|
|||
[separator]
|
||||
[exec] (Kill all dockapps) {pkill -e 'wmusic|wmamixer|wmcpuload|wmsysmon|wmmemfree'}
|
||||
[end]
|
||||
[submenu] (Wallpapers) {Choose a wallpaper...} # obviously depends on pywal16
|
||||
[wallpapers] (~/Pictures/Wallpapers) {~/.fluxbox/scripts/wal-fill.sh}
|
||||
[submenu] (Wallpapers) {Choose a theme...} # see scripts folder
|
||||
[submenu] (Dark theme) {Choose a wallpaper...}
|
||||
[wallpapers] (~/Pictures/Wallpapers) {~/.fluxbox/scripts/wal-dark.sh}
|
||||
[end]
|
||||
[submenu] (Light theme) {Choose a wallpaper...}
|
||||
[wallpapers] (~/Pictures/Wallpapers) {~/.fluxbox/scripts/wal-light.sh}
|
||||
[end]
|
||||
[end]
|
||||
[separator]
|
||||
[submenu] (Fluxbox menu) {Fluxbox menu}
|
||||
|
|
|
|||
13
scripts/wal-dark.sh
Executable file
13
scripts/wal-dark.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
wal -c
|
||||
wal -n --cols16 -i "$@"
|
||||
feh --bg-fill "$(< "${HOME}/.cache/wal/wal")"
|
||||
|
||||
# gtk and kvantum update
|
||||
gradience-cli apply -p ~/.cache/wal/pywal.json --gtk both
|
||||
|
||||
mkdir -p "${HOME}"/.config/Kvantum/pywal
|
||||
cp "${HOME}"/.cache/wal/pywal.kvconfig "${HOME}"/.config/Kvantum/pywal/pywal.kvconfig
|
||||
cp "${HOME}"/.cache/wal/pywal.svg "${HOME}"/.config/Kvantum/pywal/pywal.svg
|
||||
|
||||
walcord # discord update
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
wal -n --cols16 -i "$@"
|
||||
feh --bg-fill "$(< "${HOME}/.cache/wal/wal")"
|
||||
walcord # discord update
|
||||
13
scripts/wal-light.sh
Executable file
13
scripts/wal-light.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
wal -c
|
||||
wal -n -l --cols16 -i "$@"
|
||||
feh --bg-fill "$(< "${HOME}/.cache/wal/wal")"
|
||||
|
||||
# gtk and kvantum update
|
||||
gradience-cli apply -p ~/.cache/wal/pywal.json --gtk both
|
||||
|
||||
mkdir -p "${HOME}"/.config/Kvantum/pywal
|
||||
cp "${HOME}"/.cache/wal/pywal.kvconfig "${HOME}"/.config/Kvantum/pywal/pywal.kvconfig
|
||||
cp "${HOME}"/.cache/wal/pywal.svg "${HOME}"/.config/Kvantum/pywal/pywal.svg
|
||||
|
||||
walcord # discord update
|
||||
Loading…
Add table
Reference in a new issue