feat: add qt theme

This commit is contained in:
Youwen Wu 2024-07-11 20:01:04 -07:00
parent 3646a24713
commit eca9474407
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 34 additions and 5 deletions

View file

@ -24,6 +24,7 @@
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.users.youwen = { home-manager.users.youwen = {
imports = [ imports = [
./home.nix ./home.nix

View file

@ -42,6 +42,7 @@
fzf # A command-line fuzzy finder fzf # A command-line fuzzy finder
oh-my-posh oh-my-posh
bat bat
pavucontrol
# networking tools # networking tools
mtr # A network diagnostic tool mtr # A network diagnostic tool
@ -101,10 +102,13 @@
zoxide zoxide
# ricing
dunst dunst
swww swww
waypaper waypaper
bibata-cursors bibata-cursors
libsForQt5.qtstyleplugin-kvantum
libsForQt5.qt5ct
delta delta
lazygit lazygit
@ -135,12 +139,16 @@
"$Right" = "O"; "$Right" = "O";
"$Up" = "I"; "$Up" = "I";
"$Down" = "U"; "$Down" = "U";
env = [ "HYPRCURSOR_THEME,Bibata-Modern-Ice" "HYPRCURSOR_SIZE,20" ]; env = [
"HYPRCURSOR_THEME,Bibata-Modern-Ice" "HYPRCURSOR_SIZE,20"
"XCURSOR_THEME,Bibata-Modern-Ice" "XCURSOR_SIZE,20"
];
bind = bind =
[ [
"$mod, F, exec, librewolf" "$mod, F, exec, librewolf"
"$mod, T, exec, kitty" "$mod, T, exec, kitty"
"$mod, E, exec, dolphin" "$mod, E, exec, dolphin"
"$mod, R, exec, pavucontrol"
"$mod, Q, killactive" "$mod, Q, killactive"
"$mod, W, togglefloating" "$mod, W, togglefloating"
@ -349,6 +357,30 @@
extraConfig = "set editing-mode vi"; extraConfig = "set editing-mode vi";
}; };
gtk = {
enable = true;
catppuccin.enable = true;
cursorTheme = {
name = "Bibata-Modern-Ice";
size = 20;
};
};
qt = {
enable = true;
platformTheme = "qtct";
style.name = "kvantum";
};
xdg.configFile = {
"Kvantum/kvantum.kvconfig".text = ''
[General]
theme=GraphiteNordDark
'';
"Kvantum/GraphiteNord".source = "${pkgs.graphite-kde-theme}/share/Kvantum/GraphiteNord";
};
programs.waybar = { programs.waybar = {
enable = true; enable = true;
settings = { settings = {
@ -366,10 +398,6 @@
active-only = false; active-only = false;
all-outputs = false; all-outputs = false;
format = "{icon}"; format = "{icon}";
format-icons = {
default = "";
active = "";
};
persistent-workspaces = { persistent-workspaces = {
eDP-1 = [ 1 ]; eDP-1 = [ 1 ];
DP-1 = [ 2 3 4 5 ]; DP-1 = [ 2 3 4 5 ];