dwl: screenshotting
This commit is contained in:
parent
cf89e2b807
commit
3cb61f024f
1 changed files with 23 additions and 6 deletions
|
@ -47,19 +47,36 @@ in
|
|||
xwayland.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
xdg.portal.wlr.enable = lib.mkDefault true;
|
||||
xdg.portal.extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-wlr
|
||||
];
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
wlr.enable = lib.mkDefault true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-wlr
|
||||
];
|
||||
};
|
||||
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050913
|
||||
xdg.portal.config.dwl.default = lib.mkDefault [ "wlr" "gtk" ];
|
||||
|
||||
services.xserver.desktopManager.runXdgAutostartIfNone = lib.mkDefault true;
|
||||
|
||||
environment.variables = {
|
||||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
MOZ_ENABLE_WAYLAND = 1;
|
||||
SDL_VIDEODRIVEWR = "walyand,x11";
|
||||
_JAVA_AWT_WM_NONREPARENTING = 1;
|
||||
XDG_CURRENT_DESKTOP = "dwl";
|
||||
XDG_SESSION_DESKTOP = "dwl";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(flameshot.override { enableWlrSupport = true; })
|
||||
grim
|
||||
slurp
|
||||
satty
|
||||
|
||||
wdisplays
|
||||
xorg.xlsclients
|
||||
|
||||
wl-clipboard
|
||||
wmenu
|
||||
|
|
Loading…
Reference in a new issue