aboutsummaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/share/dark-mode.d/gtk-theme.sh8
-rwxr-xr-x.local/share/dark-mode.d/qt-theme.sh3
-rwxr-xr-x.local/share/light-mode.d/gtk-theme.sh8
-rwxr-xr-x.local/share/light-mode.d/qt-theme.sh3
4 files changed, 22 insertions, 0 deletions
diff --git a/.local/share/dark-mode.d/gtk-theme.sh b/.local/share/dark-mode.d/gtk-theme.sh
new file mode 100755
index 0000000..8fd9485
--- /dev/null
+++ b/.local/share/dark-mode.d/gtk-theme.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+gnome_schema='org.gnome.desktop.interface'
+gtk_theme='Adwaita-dark'
+
+gsettings set $gnome_schema gtk-theme $gtk_theme
+gsettings set $gnome_schema icon-theme $gtk_theme
+gsettings set $gnome_schema cursor-theme $gtk_theme
diff --git a/.local/share/dark-mode.d/qt-theme.sh b/.local/share/dark-mode.d/qt-theme.sh
new file mode 100755
index 0000000..e87c685
--- /dev/null
+++ b/.local/share/dark-mode.d/qt-theme.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+sed -i 's/^style=Adwaita$/style=Adwaita-Dark/' $HOME/.config/qt5ct/qt5ct.conf
diff --git a/.local/share/light-mode.d/gtk-theme.sh b/.local/share/light-mode.d/gtk-theme.sh
new file mode 100755
index 0000000..8a34e2e
--- /dev/null
+++ b/.local/share/light-mode.d/gtk-theme.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+gnome_schema='org.gnome.desktop.interface'
+gtk_theme='Adwaita'
+
+gsettings set $gnome_schema gtk-theme $gtk_theme
+gsettings set $gnome_schema icon-theme $gtk_theme
+gsettings set $gnome_schema cursor-theme $gtk_theme
diff --git a/.local/share/light-mode.d/qt-theme.sh b/.local/share/light-mode.d/qt-theme.sh
new file mode 100755
index 0000000..a28f5cd
--- /dev/null
+++ b/.local/share/light-mode.d/qt-theme.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+sed -i 's/^style=Adwaita-Dark$/style=Adwaita/' $HOME/.config/qt5ct/qt5ct.conf