flameshot: let DE manage flameshot
This commit is contained in:
parent
4ed8d17b7e
commit
39cd50f49c
3 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -83,6 +83,7 @@ in
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
dmenu
|
dmenu
|
||||||
xclip
|
xclip
|
||||||
|
flameshot
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
|
|
Loading…
Reference in a new issue