feat: add cliphist

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-05-21 14:57:53 -03:00
parent b788c4bafc
commit 6e309e1af7

View File

@@ -38,6 +38,7 @@ in {
home.packages = with pkgs; [
wl-clipboard
cliphist
];
xdg.mime.enable = true;
@@ -103,6 +104,8 @@ in {
exec = [
"${desktop-boot}/bin/desktop-boot"
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"${pkgs.wl-clipboard}/bin/wl-paste --type text --watch ${pkgs.cliphist}/bin/cliphist store"
"${pkgs.wl-clipboard}/bin/wl-paste --type image --watch ${pkgs.cliphist}/bin/cliphist store"
];
general = {
gaps_in = 5;