Waybar here i come (#58)

This commit is contained in:
Hadi
2026-08-13 13:55:30 +02:00
committed by GitHub
parent f1f22de7b7
commit 0cef4320fd
137 changed files with 3488 additions and 2941 deletions
+24
View File
@@ -0,0 +1,24 @@
# Clipboard history: cliphist watches the Wayland clipboard and stores every
# entry (text + images) so it can be recalled later via the `clipboard-menu`
# script (tofi). Uses the home-manager module so the watcher services are
# managed the same way as swaync/hypridle.
{pkgs, ...}: {
services.cliphist = {
enable = true;
allowImages = true;
};
systemd.user.services.cliphist-wipe = {
Unit = {
Description = "Wipe cliphist history on login and logout";
After = ["cliphist.service"];
};
Service = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = "${pkgs.cliphist}/bin/cliphist wipe";
ExecStop = "${pkgs.cliphist}/bin/cliphist wipe";
};
Install.WantedBy = ["default.target"];
};
}