From febbbded8365b7b41a990f3b46ca4b88ba5f75cf Mon Sep 17 00:00:00 2001 From: EnigmaCurry Date: Wed, 13 Mar 2024 11:06:27 -0600 Subject: [PATCH] QT theme --- bashrc | 3 ++- config/qt5ct/qt5ct.conf | 27 +++++++++++++++++++++++++++ setup.sh | 2 +- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 config/qt5ct/qt5ct.conf diff --git a/bashrc b/bashrc index 8c5aa33..efe6c56 100644 --- a/bashrc +++ b/bashrc @@ -10,7 +10,8 @@ PATH=${PATH}:${HOME}/bin:${HOME}/.cargo/bin export EDITOR=emacsclient export ENIGMACURRY_EMACS_DEV=true unset USERNAME -#export GTK_THEME=adwaita-dark +export GTK_THEME=Adwaita:dark +export QT_QPA_PLATFORMTHEME=qt5ct eval $(keychain --eval --quiet) diff --git a/config/qt5ct/qt5ct.conf b/config/qt5ct/qt5ct.conf new file mode 100644 index 0000000..363ab24 --- /dev/null +++ b/config/qt5ct/qt5ct.conf @@ -0,0 +1,27 @@ +[Appearance] +color_scheme_path=/usr/share/qt5ct/colors/airy.conf +custom_palette=false +standard_dialogs=default +style=Adwaita-Dark + +[Fonts] +fixed=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) +general=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) + +[Interface] +activate_item_on_single_click=1 +buttonbox_layout=0 +cursor_flash_time=1000 +dialog_buttons_have_icons=1 +double_click_interval=400 +gui_effects=@Invalid() +keyboard_scheme=2 +menus_have_icons=true +show_shortcuts_in_context_menus=true +stylesheets=@Invalid() +toolbutton_style=4 +underline_shortcut=1 +wheel_scroll_lines=3 + +[SettingsWindow] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x5$\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x5$\0\0\0\0\0\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x5$) diff --git a/setup.sh b/setup.sh index 62c95b4..00e49ce 100755 --- a/setup.sh +++ b/setup.sh @@ -14,7 +14,7 @@ link_dir() { } link() { - SRC=$(realpath ${1}); DEST=${2}; + SRC=$(realpath ${1}); DEST=$(realpath ${2}); ( set -x ln -sf "${SRC}" "${DEST}"