forked from colonelpanic/dotfiles
[NixOS] Add shutter for screenshotting
This commit is contained in:
parent
af33ddfb79
commit
73cf253f62
@ -80,6 +80,7 @@
|
||||
rofi
|
||||
rofi-pass
|
||||
rofi-systemd
|
||||
shutter
|
||||
simplescreenrecorder
|
||||
skippy-xd
|
||||
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 = {
|
||||
Unit = {
|
||||
Description = "Picom X11 compositor";
|
||||
|
Loading…
Reference in New Issue
Block a user