feat(wofi): add keybinding to show clipboard history

This commit is contained in:
Price Hiller 2024-01-25 16:44:25 -06:00
parent 113498215f
commit 0af90797cf
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
3 changed files with 29 additions and 0 deletions

View File

@ -162,6 +162,12 @@ in
gtk4.extraConfig = extraGtkConfig;
};
services = {
cliphist = {
enable = true;
};
};
systemd.user = {
targets.compositor = {
Unit = {

View File

@ -57,6 +57,7 @@ bind = ,j,movewindow,d
bind = ,escape,submap,reset
submap = reset
bind = CTRLSUPER,v,exec,cd "${XDG_CONFIG_HOME}/wofi" && cliphist list | wofi --dmenu --width=1000px --style "cliphist.css" --height=90% -D halign=left | cliphist decode | wl-copy
bind = SUPER,RETURN,exec,wezterm
bind = SUPERCTRLSHIFT,R,exec,hyprctl reload
bind = SUPER,SPACE,exec,wofi --show drun

View File

@ -0,0 +1,22 @@
@import url("style.css");
window {
font-size: 16px;
}
#entry {
border: none;
border-radius: 16px;
padding: 0px;
min-height: 8px;
background-color: transparent;
font-weight: bold;
}
#entry:selected {
outline: none;
border: none;
border-radius: none;
background: none;
background-size: none;
}