lupan-set-theme: fix light and dark; add key in dwm
This commit is contained in:
1 parent
f320686648
commit
4b45ae4d75
2 files changed
+8
-4
No files matched your search
@@ -2,10 +2,12 @@
|
||||
|
||||
THEME="$1"
|
||||
|
||||
if [ "$THEME" = "toggle" ] && grep Materia-dark ~/.config/xsettingsd/xsettingsd.conf > /dev/null; then
|
||||
THEME=light
|
||||
else
|
||||
THEME=dark
|
||||
if [ "$THEME" = "toggle" ]; then
|
||||
if grep Materia-dark ~/.config/xsettingsd/xsettingsd.conf > /dev/null; then
|
||||
THEME=light
|
||||
else
|
||||
THEME=dark
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$THEME" = dark ]; then
|
||||
|
||||
Reference in new issue
Block a user