feat: qt theme, pkgs update, env var fix

This commit is contained in:
2024-11-12 10:59:36 +01:00
parent 048e272fb6
commit d7328f61f0
5 changed files with 34 additions and 10 deletions

View File

@@ -25,6 +25,7 @@
./system/hyprland.nix
./system/rofi.nix
./system/stylix.nix
./system/theme.nix
./system/waybar.nix
./system/wlsunset.nix
./system/wofi.nix

View File

@@ -47,7 +47,7 @@
okular
# > desktop < #
firefox
# firefox
telegram-desktop
google-chrome
chromium
@@ -56,7 +56,7 @@
foliate
helio-workstation
keepassxc
vesktop
# vesktop
equibop
inputs.zen-browser.packages."${system}".default

View File

@@ -282,7 +282,7 @@
$menu = rofi -show drun
$lock = $HOME/.config/hypr/lock.sh
$editor = zed
$browser = firefox
$browser = zen-browser
$picker = hyprpicker -a -f hex
#################
@@ -296,7 +296,7 @@
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# exec-once=zsh $HOME/.config/hypr/autostart.sh
exec-once = waybar
exec-once = keepassxc
# exec-once = keepassxc
#############################
### ENVIRONMENT VARIABLES ###
@@ -325,7 +325,7 @@
env = WLR_NO_HARDWARE_CURSORS,1
env = __NV_PRIME_RENDER_OFFLOAD,1
env = __VK_LAYER_NV_optimus,NVIDIA_only
env = __GL_THREADED_OPTIMIZATIONS=0
env = __GL_THREADED_OPTIMIZATIONS,0
# Wayland enforce
env = QT_QPA_PLATFORM,wayland

View File

@@ -2,11 +2,11 @@
{
imports = [ inputs.stylix.homeManagerModules.stylix ];
qt = {
enable = false;
style.name = "gtk2";
platformTheme.name = "gtk";
};
#qt = {
# enable = false;
# style.name = "gtk2";
# platformTheme.name = "gtk";
#};
gtk.iconTheme = {
name = "Papirus-Dark";

23
home/system/theme.nix Normal file
View File

@@ -0,0 +1,23 @@
{
lib,
config,
pkgs,
...
}: {
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";
};
}