diff options
| author | Grigory Shipunov | 2022-08-06 14:41:23 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2022-08-06 14:41:23 +0200 |
| commit | 3197528e86f4fb7c0edbb1d562eec9d038cbd497 (patch) | |
| tree | 99b1470beb68f8049bdb054d10095f9a4bab01bd /modules/graphical.nix | |
| parent | ba5908f36acaa31d5f0bd0804e951c24ee0cedb4 (diff) | |
fix qt stuff
Diffstat (limited to 'modules/graphical.nix')
| -rw-r--r-- | modules/graphical.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/graphical.nix b/modules/graphical.nix index 8323721..64cd881 100644 --- a/modules/graphical.nix +++ b/modules/graphical.nix @@ -20,6 +20,7 @@ xdg-utils nextcloud-client foot + qt5.qtwayland ]; #on the desktop, we need nice fonts ^^ @@ -96,6 +97,13 @@ programs.sway = { enable = 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; [ pamixer swaylock @@ -103,8 +111,7 @@ wl-clipboard mako foot - wofi - wofi-emoji + rofi-wayland grim slurp waybar |
