feat(wofi): add keybinding to show clipboard history
This commit is contained in:
parent
113498215f
commit
0af90797cf
@ -162,6 +162,12 @@ in
|
|||||||
gtk4.extraConfig = extraGtkConfig;
|
gtk4.extraConfig = extraGtkConfig;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
cliphist = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
systemd.user = {
|
systemd.user = {
|
||||||
targets.compositor = {
|
targets.compositor = {
|
||||||
Unit = {
|
Unit = {
|
||||||
|
@ -57,6 +57,7 @@ bind = ,j,movewindow,d
|
|||||||
bind = ,escape,submap,reset
|
bind = ,escape,submap,reset
|
||||||
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 = SUPER,RETURN,exec,wezterm
|
||||||
bind = SUPERCTRLSHIFT,R,exec,hyprctl reload
|
bind = SUPERCTRLSHIFT,R,exec,hyprctl reload
|
||||||
bind = SUPER,SPACE,exec,wofi --show drun
|
bind = SUPER,SPACE,exec,wofi --show drun
|
||||||
|
22
dots/.config/wofi/cliphist.css
Normal file
22
dots/.config/wofi/cliphist.css
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user