Compare commits
1 Commits
5ea55f5c81
...
9367efd589
Author | SHA1 | Date | |
---|---|---|---|
9367efd589 |
@ -771,6 +771,27 @@ let
|
||||
mainWallpaperDisplay = if mainWallpaperDisplayMaybe != null then mainWallpaperDisplayMaybe else "fill";
|
||||
in
|
||||
{
|
||||
systemd.user.services.flameshot = {
|
||||
Unit = {
|
||||
Description = "Flameshot screenshot tool";
|
||||
After = [
|
||||
"graphical-session-pre.target"
|
||||
"polybar.service"
|
||||
"stalonetray.service"
|
||||
"taffybar.service"
|
||||
];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
||||
Service = {
|
||||
Environment = "PATH=${config.home.profileDirectory}/bin";
|
||||
ExecStart = "${flameshot}/bin/flameshot";
|
||||
Restart = "on-abort";
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."flameshot/flameshot.ini".text = ''
|
||||
[General]
|
||||
buttons=@Variant(\0\0\0\x7f\0\0\0\vQList<int>\0\0\0\0\n\0\0\0\0\0\0\0\x2\0\0\0\x3\0\0\0\x5\0\0\0\x6\0\0\0\x12\0\0\0\xf\0\0\0\x13\0\0\0\b\0\0\0\n)
|
||||
@ -800,28 +821,7 @@ let
|
||||
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
};
|
||||
} else { } // {
|
||||
flameshot = {
|
||||
Unit = {
|
||||
Description = "Flameshot screenshot tool";
|
||||
After = [
|
||||
"graphical-session-pre.target"
|
||||
"polybar.service"
|
||||
"stalonetray.service"
|
||||
"taffybar.service"
|
||||
];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
|
||||
Service = {
|
||||
Environment = "PATH=${config.home.profileDirectory}/bin";
|
||||
ExecStart = "${flameshot}/bin/flameshot";
|
||||
Restart = "on-abort";
|
||||
};
|
||||
};
|
||||
};
|
||||
} else { };
|
||||
|
||||
services.picom = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user