Clipboard history

This commit is contained in:
Nathan McCarty 2023-06-16 20:20:58 -04:00
parent 74b502737c
commit a904fdfb1f
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 7 additions and 2 deletions

View File

@ -7,8 +7,7 @@ in with lib; {
swaylock-command = ''
${swaylock-package}/bin/swaylock --screenshots --grace 30 --indicator --clock --timestr "%-I:%M:%S %p" --datestr "%A %Y-%M-%d" --effect-blur 20x3'';
fuzzel-command = ''
fuzzel -f "Iosevka Sans Quasi" -b "103c48ff" -S "adbcbcff" -s "184956ff" -t "72898fff" -B 5 -r 5 -C "ed8649ff"
'';
fuzzel -f "Iosevka Sans Quasi" -b "103c48ff" -S "adbcbcff" -s "184956ff" -t "72898fff" -B 5 -r 5 -C "ed8649ff"'';
wob-package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.wob;
in {
home.packages = with pkgs; [
@ -17,6 +16,8 @@ in with lib; {
swaylock-package
swayidle
# Clipboard
wl-clipboard
cliphist
# Notifications
mako
# Terminal
@ -187,6 +188,10 @@ in with lib; {
# systemd integration
exec-once=dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && sleep 2 && systemctl --user start hyprland-session.target
# Clipboard history management
exec-once=wl-paste --watch cliphist store
bind = $mainMod, X, exec, cliphist list | ${fuzzel-command} --dmenu | cliphist decode | wl-copy
'';
};