clipsync: rename to clipnotify
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
22609fe783
commit
161ae2fca5
1 changed files with 3 additions and 3 deletions
|
@ -5,20 +5,20 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.custom.services.clipsync;
|
cfg = config.custom.services.clipnotify;
|
||||||
|
|
||||||
clipnotify = getExe pkgs.clipnotify;
|
clipnotify = getExe pkgs.clipnotify;
|
||||||
wl-copy = getExe' pkgs.wl-clipboard "wl-copy";
|
wl-copy = getExe' pkgs.wl-clipboard "wl-copy";
|
||||||
wl-paste = getExe' pkgs.wl-clipboard "wl-paste";
|
wl-paste = getExe' pkgs.wl-clipboard "wl-paste";
|
||||||
xclip = getExe pkgs.xclip;
|
xclip = getExe pkgs.xclip;
|
||||||
in {
|
in {
|
||||||
options.custom.services.clipsync = {
|
options.custom.services.clipnotify = {
|
||||||
enable = mkOption {default = false;};
|
enable = mkOption {default = false;};
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# https://github.com/cdown/clipnotify
|
# https://github.com/cdown/clipnotify
|
||||||
systemd.user.services.clipsync = {
|
systemd.user.services.clipnotify = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wantedBy = ["graphical-session.target"];
|
wantedBy = ["graphical-session.target"];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue