desktop: configure qtct appearance
This commit is contained in:
@@ -98,6 +98,13 @@ let
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."ghostty/config" = {
|
||||
force = true;
|
||||
text = ''
|
||||
confirm-close-surface = false
|
||||
'';
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
@@ -110,6 +117,8 @@ let
|
||||
hicolor-icon-theme
|
||||
# libsForQt5.breeze-gtk
|
||||
# materia-theme
|
||||
kdePackages.qt6ct
|
||||
libsForQt5.qt5ct
|
||||
numix-icon-theme-circle
|
||||
papirus-icon-theme
|
||||
|
||||
|
||||
@@ -88,6 +88,7 @@ with lib;
|
||||
NIXPKGS_GIT_REV = "${inputs.nixpkgs.rev}";
|
||||
NIXPKGS_SOURCE = "${inputs.nixpkgs.outPath}";
|
||||
EDITOR = "emacsclient --alternate-editor emacs";
|
||||
QT_QPA_PLATFORMTHEME = "qt6ct";
|
||||
};
|
||||
interactiveShellInit = ''
|
||||
_df_is_managed_ssh_host() {
|
||||
|
||||
@@ -152,6 +152,33 @@
|
||||
|
||||
[Removed Associations]
|
||||
'';
|
||||
qtctConfig = ''
|
||||
[Appearance]
|
||||
color_scheme_path=
|
||||
custom_palette=false
|
||||
icon_theme=Numix-Circle
|
||||
standard_dialogs=default
|
||||
style=Fusion
|
||||
|
||||
[Fonts]
|
||||
fixed="Noto Sans,10,-1,5,50,0,0,0,0,0"
|
||||
general="Noto Sans,10,-1,5,50,0,0,0,0,0"
|
||||
|
||||
[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
|
||||
'';
|
||||
in {
|
||||
# Automatic garbage collection of old home-manager generations
|
||||
nix.gc = {
|
||||
@@ -173,6 +200,8 @@ in {
|
||||
static_history = []
|
||||
'';
|
||||
|
||||
xdg.configFile."qt5ct/qt5ct.conf".text = qtctConfig;
|
||||
xdg.configFile."qt6ct/qt6ct.conf".text = qtctConfig;
|
||||
|
||||
xdg.configFile."zellij/config.kdl".source =
|
||||
config.lib.file.mkOutOfStoreSymlink
|
||||
|
||||
Reference in New Issue
Block a user