fix qt stuff

This commit is contained in:
Grigory Shipunov 2022-08-06 14:41:23 +02:00
parent ba5908f36a
commit 3197528e86
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C

View file

@ -20,6 +20,7 @@
xdg-utils xdg-utils
nextcloud-client nextcloud-client
foot foot
qt5.qtwayland
]; ];
#on the desktop, we need nice fonts ^^ #on the desktop, we need nice fonts ^^
@ -96,6 +97,13 @@
programs.sway = { programs.sway = {
enable = true; enable = true;
wrapperFeatures.gtk = true; wrapperFeatures.gtk = true;
extraSessionCommands = ''
export SDL_VIDEODRIVER=wayland
export QT_QPA_PLATFORM=wayland-egl
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export QT_QPA_PLATFORMTHEME="gnome"
export QT_STYLE_OVERRIDE="adwaita-dark"
'';
extraPackages = with pkgs; [ extraPackages = with pkgs; [
pamixer pamixer
swaylock swaylock
@ -103,8 +111,7 @@
wl-clipboard wl-clipboard
mako mako
foot foot
wofi rofi-wayland
wofi-emoji
grim grim
slurp slurp
waybar waybar