brightnessctl and qutebrowser without xwayland

This commit is contained in:
Andrea Ciceri 2022-04-24 12:30:00 +02:00
parent 77e2a86231
commit 8175759a71
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
4 changed files with 15 additions and 3 deletions

View file

@ -18,6 +18,7 @@ in
amule = prev.callPackage (import ./amule) { };
digikam = nixpkgsUnstable.digikam;
cura = nixpkgsUnstable.cura;
qutebrowser = import ./qutebrowser { pkgs = prev; };
#firefox-unwrapped = nixpkgsUnstable.firefox-unwrapped;
xdg-desktop-portal = nixpkgsUnstable.xdg-desktop-portal;
xdg-desktop-portal-gtk = nixpkgsUnstable.xdg-desktop-portal-gtk;

View file

@ -0,0 +1,9 @@
{ pkgs }:
pkgs.qutebrowser.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [ pkgs.makeWrapper ];
postInstall = old.postInstall or "" + ''
wrapProgram "$out/bin/qutebrowser" --set QT_QPA_PLATFORM wayland --set QT_WAYLAND_DISABLE_WINDOWDECORATION 1
'';
})