Switch to Wayland

This commit is contained in:
Paul-Henri Froidmont 2024-06-23 02:36:51 +02:00
parent b19476f92b
commit 64e94d4ff8
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
22 changed files with 503 additions and 1040 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, inputs, ... }:
with lib;
with lib.my;
@ -9,18 +9,26 @@ in {
home-manager.users.${config.user.name} = { config, ... }: {
services.flameshot = {
enable = true;
package = pkgs.flameshot.overrideAttrs (old: {
src = inputs.flameshot-git;
cmakeFlags = [ "-DUSE_WAYLAND_GRIM=1" ];
});
settings = {
General = {
showStartupLaunchMessage = false;
disabledTrayIcon = true;
showHelp = false;
showDesktopNotification = false;
filenamePattern = "%F_%T";
savePath = "${config.home.homeDirectory}/Pictures/Screenshots";
savePathFixed = true;
saveAfterCopy = true;
uiColor = "#83A598";
};
};
};
home.packages = with pkgs.unstable; [ grim ];
};
};
}