Improve cliphist

This commit is contained in:
Pedro Rey Anca 2025-05-03 22:17:26 +02:00
parent 2bad479da5
commit d71979f2cd
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
4 changed files with 9 additions and 4 deletions

View file

@ -0,0 +1,7 @@
{...}: {
services.cliphist = {
enable = true;
allowImages = true;
};
}

View file

@ -9,6 +9,7 @@
++ [(import ./browsers)] # browser configurations
++ [(import ./btop.nix)] # resouces monitor
++ [(import ./cava.nix)] # audio visualizer
++ [(import ./cliphist.nix)] # clipboard
++ [(import ./discord.nix)] # discord with catppuccin theme
++ [(import ./gpg.nix)] # GnuPG and its agent (gpg-agent)
++ [(import ./fuzzel.nix)] # launcher

View file

@ -11,8 +11,6 @@
"poweralertd &"
"waybar &"
"swaync &"
"wl-paste --type text --watch cliphist store &" #Stores only text data
"wl-paste --type image --watch cliphist store &" #Stores only image data
"ckb-next -b &"
"element-desktop --hidden &"
];
@ -213,7 +211,7 @@
"$mainMod, XF86MonBrightnessDown, exec, brightnessctl set 100%-"
# clipboard manager
"$mainMod, V, exec, cliphist list | fuzzel --dmenu | cliphist decode | wl-copy"
"$mainMod, V, exec, cliphist list | fuzzel --dmenu --prompt '📋 ' | cliphist decode | wl-copy"
];
# Bindings that work when locked

View file

@ -85,7 +85,6 @@
pavucontrol # pulseaudio volume controle (GUI)
playerctl # controller for media players
wl-clipboard # clipboard utils for wayland (wl-copy, wl-paste)
cliphist # clipboard manager
poweralertd
qalculate-gtk # calculator
unzip