[NixOS] Add shutter for screenshotting
This commit is contained in:
parent
af33ddfb79
commit
73cf253f62
@ -80,6 +80,7 @@
|
|||||||
rofi
|
rofi
|
||||||
rofi-pass
|
rofi-pass
|
||||||
rofi-systemd
|
rofi-systemd
|
||||||
|
shutter
|
||||||
simplescreenrecorder
|
simplescreenrecorder
|
||||||
skippy-xd
|
skippy-xd
|
||||||
synergy
|
synergy
|
||||||
|
@ -119,6 +119,22 @@ inputs: { pkgs, config, ... }: {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.user.services.shutter = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Shutter";
|
||||||
|
After = [ "graphical-session-pre.target" "tray.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||||
|
|
||||||
|
Service = {
|
||||||
|
ExecStart = "${pkgs.shutter}/bin/shutter --min_at_startup";
|
||||||
|
Restart = "always";
|
||||||
|
RestartSec = 3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
systemd.user.services.picom = {
|
systemd.user.services.picom = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Picom X11 compositor";
|
Description = "Picom X11 compositor";
|
||||||
|
Loading…
Reference in New Issue
Block a user