Enable dark theme.

This should hopefully carry over into the browser and such so I don't get blinded.
This commit is contained in:
Tom Alexander
2023-08-10 18:26:40 -04:00
parent 6c9e458278
commit 3751629166
8 changed files with 24 additions and 6 deletions

View File

@@ -11,6 +11,9 @@ export WLR_RENDERER=vulkan
# Enable wayland support for firefox
export MOZ_ENABLE_WAYLAND=1
# Enable dark theme
# export QT_STYLE_OVERRIDE=adwaita-dark
# Wayland seems enabled by default for qt5 with qt5-wayland installed but if a proprietary program bundles their own qt then I may have to set QT_QPA_PLATFORM="wayland;xcb"
# Wayland does not seem enabled for gtk apps and setting GDK_BACKEND=wayland did not change that.

View File

@@ -9,4 +9,7 @@ export XDG_CURRENT_DESKTOP=sway
export MOZ_ENABLE_WAYLAND=1
#export WLR_RENDERER=vulkan
# Enable dark theme
# export QT_STYLE_OVERRIDE=adwaita-dark
exec sway -d &> $HOME/.config/swaylog

View File

@@ -0,0 +1,2 @@
[Settings]
gtk-application-prefer-dark-theme=1

View File

@@ -20,6 +20,8 @@
- dbus # for desktop notifications
- jq
- vulkan-validation-layers # For vulkan support in sway
# - adwaita-qt5 # For dark theme
# - adwaita-qt6 # For dark theme
state: present
- name: Install scripts

View File

@@ -14,6 +14,7 @@
- ".config/xdg-desktop-portal-wlr"
- ".config/mako"
- ".config/wlogout"
- .config/gtk-3.0
- name: Copy files
copy:
@@ -35,6 +36,8 @@
dest: .config/electron-flags.conf
- src: mako_config
dest: .config/mako/config
- src: settings.ini
dest: .config/gtk-3.0/settings.ini
- name: Configure dotfiles (conf directory)
copy: