aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-02-25 09:09:40 +0800
committerGuangxiong Lin <[email protected]>2023-02-25 09:09:40 +0800
commited21dbdb5954e8b6327747686022b87f9ae57cfd (patch)
treebc93c9622ade4ed939f33e6be14f5213ae4b756c
parenta7a553c1df4862037917be8bf40bc4a2a5b47044 (diff)
downloaddotfiles-ed21dbdb5954e8b6327747686022b87f9ae57cfd.tar.gz
dotfiles-ed21dbdb5954e8b6327747686022b87f9ae57cfd.tar.bz2
dotfiles-ed21dbdb5954e8b6327747686022b87f9ae57cfd.zip
Remove theme related config
-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
-rwxr-xr-xbin/startsway1
-rwxr-xr-xscripts/bootstrap.sh3
6 files changed, 1 insertions, 25 deletions
diff --git a/.local/share/dark-mode.d/gtk-theme.sh b/.local/share/dark-mode.d/gtk-theme.sh
deleted file mode 100755
index 8fd9485..0000000
--- a/.local/share/dark-mode.d/gtk-theme.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/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
deleted file mode 100755
index e87c685..0000000
--- a/.local/share/dark-mode.d/qt-theme.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/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
deleted file mode 100755
index 8a34e2e..0000000
--- a/.local/share/light-mode.d/gtk-theme.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/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
deleted file mode 100755
index a28f5cd..0000000
--- a/.local/share/light-mode.d/qt-theme.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env bash
-
-sed -i 's/^style=Adwaita-Dark$/style=Adwaita/' $HOME/.config/qt5ct/qt5ct.conf
diff --git a/bin/startsway b/bin/startsway
index e695763..dc230ea 100755
--- a/bin/startsway
+++ b/bin/startsway
@@ -5,6 +5,5 @@ export XDG_SESSION_DESKTOP=sway
export WLR_RENDER=vulkan
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland
-export QT_QPA_PLATFORMTHEME=qt5ct
exec sway > ~/.sway.log
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 89d267e..5b17c35 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -23,8 +23,7 @@ link_all () {
.vimrc .vim .path .functions .emacs.d .gitconfig \
.config/i3 .config/polybar .xinitrc .pam_environment \
.zprofile .newsboat .ledgerrc .nnnrc .alacritty.yml .fzfrc .zplugrc \
- .env .zrc .config/kitty .wezterm.lua .config/mpv \
- .local/share/light-mode.d .local/share/dark-mode.d
+ .env .zrc .config/kitty .wezterm.lua .config/mpv
}
main () {