flameshot: let DE manage flameshot

This commit is contained in:
Zynh Ludwig 2024-12-13 04:39:28 -08:00
parent 4ed8d17b7e
commit 39cd50f49c
3 changed files with 4 additions and 1 deletions

View file

@ -22,7 +22,7 @@ in
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ flameshot ]; # home.packages = with pkgs; [ flameshot ];
xdg.configFile."flameshot/flameshot.ini".text = lib.generators.toINI { } cfg.config; xdg.configFile."flameshot/flameshot.ini".text = lib.generators.toINI { } cfg.config;
}; };

View file

@ -60,6 +60,8 @@ in
services.xserver.desktopManager.runXdgAutostartIfNone = lib.mkDefault true; services.xserver.desktopManager.runXdgAutostartIfNone = lib.mkDefault true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(flameshot.override { enableWlrSupport = true; })
wl-clipboard wl-clipboard
wmenu wmenu
foot foot

View file

@ -83,6 +83,7 @@ in
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
dmenu dmenu
xclip xclip
flameshot
]; ];
home-manager.sharedModules = [ home-manager.sharedModules = [