Add cliphist

This commit is contained in:
Thomas Avé 2023-12-02 23:32:42 +01:00
parent 349abe3035
commit 4a5cb3e3c8
2 changed files with 5 additions and 3 deletions

View File

@ -7,6 +7,6 @@ font = "Ubuntu 10.5"
width = (0, 600)
padding = 15
origin = top-right
offset = 20x45
offset = 10x10
horizontal_padding = 20
gap_size = 15

View File

@ -4,6 +4,8 @@ env = WLR_NO_HARDWARE_CURSORS,1
monitor=DP-2,preferred,0x550,1
monitor=DP-1,preferred,1920x0,1,bitdepth,10
monitor=HDMI-A-1,preferred,5760x550,1
exec-once=wl-paste --type text --watch cliphist store
exec-once=wl-paste --type image --watch cliphist store
workspace=DP-1,11
workspace=DP-2,21
@ -53,7 +55,7 @@ binds {
input {
kb_layout = us
follow_mouse = 1
kb_options = compose:rctrl
kb_options = compose:rctrl, caps:super
numlock_by_default = true
}
@ -123,7 +125,7 @@ bind = $mainMod, F11, fullscreen
bind = $mainMod, F, togglefloating,
bind = $mainMod, SPACE, togglesplit, # dwindle
bind = CONTROL_L ALT_L, L, exec, swaylock
bind = $mainMod, C, exec, CM_LAUNCHER=rofi-script rofi -modi "clipmenu:/usr/bin/clipmenu" -show clipmenu
bind = $mainMod, C, exec, cliphist list | awk '{print $0, "\0icon\x1fcom.github.davidmhewitt.clipped"}' | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy
bind = $mainMod, Y, exec, /home/user/.config/rofi/rofi-ykman.sh
bind = Super_L Control_L, Q, exec, systemctl suspend
bind = $mainMod, Escape, exec, rofi -show power-menu -modi power-menu:/home/user/.config/scripts/rofi-power-menu