Fix cliphist regression
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -20,7 +20,39 @@ in
|
|||||||
persistence."/cache${user.home}".directories = [ "${hmConfig.xdg.relativeCacheHome}/cliphist" ];
|
persistence."/cache${user.home}".directories = [ "${hmConfig.xdg.relativeCacheHome}/cliphist" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.cliphist.enable = true;
|
systemd.user.services = {
|
||||||
|
cliphist = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Clipboard manager";
|
||||||
|
BindsTo = [ "graphical-session.target" ];
|
||||||
|
After = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
Service.ExecStart = lib.meta.getExe (pkgs.writeShellApplication {
|
||||||
|
name = "init-cliphist";
|
||||||
|
runtimeInputs = with pkgs; [ wl-clipboard cliphist ];
|
||||||
|
text = "exec wl-paste --watch cliphist store";
|
||||||
|
});
|
||||||
|
|
||||||
|
Install.WantedBy = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
cliphist-image = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Clipboard manager (images)";
|
||||||
|
BindsTo = [ "graphical-session.target" ];
|
||||||
|
After = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
Service.ExecStart = lib.meta.getExe (pkgs.writeShellApplication {
|
||||||
|
name = "init-cliphist-image";
|
||||||
|
runtimeInputs = with pkgs; [ wl-clipboard cliphist ];
|
||||||
|
text = "exec wl-paste --type image --watch cliphist store";
|
||||||
|
});
|
||||||
|
|
||||||
|
Install.WantedBy = [ "graphical-session.target" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings.bind =
|
wayland.windowManager.hyprland.settings.bind =
|
||||||
let
|
let
|
||||||
|
Reference in New Issue
Block a user