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
|
||||
cfg = config.custom.services.clipsync;
|
||||
cfg = config.custom.services.clipnotify;
|
||||
|
||||
clipnotify = getExe pkgs.clipnotify;
|
||||
wl-copy = getExe' pkgs.wl-clipboard "wl-copy";
|
||||
wl-paste = getExe' pkgs.wl-clipboard "wl-paste";
|
||||
xclip = getExe pkgs.xclip;
|
||||
in {
|
||||
options.custom.services.clipsync = {
|
||||
options.custom.services.clipnotify = {
|
||||
enable = mkOption {default = false;};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# https://github.com/cdown/clipnotify
|
||||
systemd.user.services.clipsync = {
|
||||
systemd.user.services.clipnotify = {
|
||||
enable = true;
|
||||
wantedBy = ["graphical-session.target"];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue