From 1fc94fef2227599e5d7829125fdd210744a5e7d6 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Tue, 5 Sep 2023 10:45:45 -0600 Subject: [PATCH] Copy theme vars to profile and bashrc Probably overkill, but I am too lazy to figure out where this needs to be configured to allow all applications to behave --- bash/bash_profile | 11 +++++++++++ bash/bashrc | 22 ++++++++++++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/bash/bash_profile b/bash/bash_profile index f94d2b6d2..3df2e4392 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -8,6 +8,17 @@ if [ -n "$BASH_VERSION" ]; then fi fi +# GUI themes +export GTK_THEME="Gruvbox" +export ICON_THEME="Gruvbox" +export CURSOR_THEME="FlatbedCursors-White" +export PROFILE_NAME="Oled" +export QT_QPA_PLATFORMTHEME="qt5ct" +export QT_QPA_PLATFORM="wayland-egl;wayland;xcb" +export GDK_BACKEND="wayland" +export DCONF=".config/dconf/user" + +GTK_THEME="Gruvbox" THEME="dark" # Perl junk to allow scripts to run for non-interactive sessions diff --git a/bash/bashrc b/bash/bashrc index 834fbdf5b..d96f89ab1 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -1,12 +1,22 @@ # vim: ft=sh +# GUI themes +export GTK_THEME="Gruvbox" +export ICON_THEME="Gruvbox" +export CURSOR_THEME="FlatbedCursors-White" +export PROFILE_NAME="Oled" +export QT_QPA_PLATFORMTHEME="qt5ct" +export QT_QPA_PLATFORM="wayland-egl;wayland;xcb" +export GDK_BACKEND="wayland" +export DCONF=".config/dconf/user" + # Setup editor export EDITOR="${HOME}/.dotfiles/nix/bin/nvim" # If not running interactively, don't do anything case $- in *i*) ;; - *) return;; + *) return;; esac # agetty is set to automatically log me in on tty1 @@ -35,11 +45,11 @@ shopt -s checkwinsize # enable programmable completion features if ! shopt -oq posix; then - if [ -f /usr/share/bash-completion/bash_completion ]; then - . /usr/share/bash-completion/bash_completion - elif [ -f /etc/bash_completion ]; then - . /etc/bash_completion - fi + if [ -f /usr/share/bash-completion/bash_completion ]; then + . /usr/share/bash-completion/bash_completion + elif [ -f /etc/bash_completion ]; then + . /etc/bash_completion + fi fi # Set window title to last command