-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwali_v2_restore
More file actions
executable file
·40 lines (27 loc) · 1.25 KB
/
wali_v2_restore
File metadata and controls
executable file
·40 lines (27 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# wali : Wal Improved
# pass all arguments to wal
wal "$@"
# source wal colors
. "${HOME}/.cache/wal/colors.sh"
# change color in Firefox userChrome.css file
#USERCHROME_FOLDER=$(ls ${HOME}/.mozilla/firefox/ | grep "default-release" | awk "{print $9}");
#sed -i '/--bg-color:/c\--bg-color: '$color1';' ${HOME}/.mozilla/firefox/$USERCHROME_FOLDER/chrome/userChrome.css
# change rofi foreground color
#sed -i '/walgen: #/c\ walgen: '$color1';' ${HOME}/.config/rofi/custom.rasi
# change dunst color theme
#sed -i '/background = "#/c\background = "'$color1'" ' ${HOME}/.config/dunst/dunstrc
#sed -i '/frame_color = "#/c\frame_color = "'$color1'" ' ${HOME}/.config/dunst/dunstrc
#sed -i '/foreground = "#/c\foreground = "'$color7'" ' ${HOME}/.config/dunst/dunstrc
# change keyboard underglow color
python ${HOME}/scripts/keyboard_color.py $color1
# openrgb : CM & WS2812b
openrgb -c ${color1:1}
# liquidctl : AIO colors
liquidctl --match "Hydro" set led color fixed ${color1:1}
# liquidctl : Lighting Node Core
liquidctl --match "Node" set led color clear
liquidctl --match "Node" set led color fixed ${color1:1} --start-led 1 --maximum-leds 132
#i3-msg restart &
#${HOME}/scripts/feh_ultrawide.sh
notify-send "Wal Improved" "Theme restored." -u normal