From ed21dbdb5954e8b6327747686022b87f9ae57cfd Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 25 Feb 2023 09:09:40 +0800 Subject: Remove theme related config --- .local/share/dark-mode.d/gtk-theme.sh | 8 -------- .local/share/dark-mode.d/qt-theme.sh | 3 --- .local/share/light-mode.d/gtk-theme.sh | 8 -------- .local/share/light-mode.d/qt-theme.sh | 3 --- bin/startsway | 1 - scripts/bootstrap.sh | 3 +-- 6 files changed, 1 insertion(+), 25 deletions(-) delete mode 100755 .local/share/dark-mode.d/gtk-theme.sh delete mode 100755 .local/share/dark-mode.d/qt-theme.sh delete mode 100755 .local/share/light-mode.d/gtk-theme.sh delete mode 100755 .local/share/light-mode.d/qt-theme.sh 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 () { -- cgit v1.2.3