adds tofi clipboard management with cliphist

This commit is contained in:
2025-06-12 15:47:42 +02:00
parent 2222453712
commit fbf475fa82
4 changed files with 24 additions and 21 deletions

View File

@ -26,4 +26,5 @@ exec-once = $idlehandler
# Clipboard fix # Clipboard fix
# https://github.com/hyprwm/Hyprland/issues/2319#issuecomment-2409983376 # https://github.com/hyprwm/Hyprland/issues/2319#issuecomment-2409983376
exec-once = wl-paste -t text -w xclip -selection clipboard exec-once = wl-paste -t text -w xclip -selection clipboard &
exec-once = wl-paste --watch cliphist store &

View File

@ -1,19 +1,19 @@
$wallpaper = /usr/share/wallpapers/wallpaper/spaceship-start.jpg $wallpaper = /usr/share/wallpapers/downloaded/pexels-lucadross-4129849.jpg
$background = rgb(1C1E22) $background = rgb(111311)
$foreground = rgb(FAF5F2) $foreground = rgb(F6DBD0)
$color0 = rgb(424449) $color0 = rgb(3B3E3B)
$color1 = rgb(0A1F33) $color1 = rgb(616371)
$color2 = rgb(5F5352) $color2 = rgb(9D7552)
$color3 = rgb(486552) $color3 = rgb(7D7E82)
$color4 = rgb(B87463) $color4 = rgb(BE6B2C)
$color5 = rgb(8D9E7F) $color5 = rgb(868A94)
$color6 = rgb(F1E3DA) $color6 = rgb(E69879)
$color7 = rgb(F0E9E4) $color7 = rgb(EAC3B4)
$color8 = rgb(A8A3A0) $color8 = rgb(A4897E)
$color9 = rgb(0A1F33) $color9 = rgb(616371)
$color10 = rgb(5F5352) $color10 = rgb(9D7552)
$color11 = rgb(486552) $color11 = rgb(7D7E82)
$color12 = rgb(B87463) $color12 = rgb(BE6B2C)
$color13 = rgb(8D9E7F) $color13 = rgb(868A94)
$color14 = rgb(F1E3DA) $color14 = rgb(E69879)
$color15 = rgb(F0E9E4) $color15 = rgb(EAC3B4)

View File

@ -153,6 +153,8 @@ bind = $shiftMod, PRINT, exec, hyprshot -m region
# ======= Additional Settings ======= # ======= Additional Settings =======
bind = $mainMod, c, exec, cliphist list | tofi --prompt-text="clip:" | cliphist decode | wl-copy
# https://wiki.hyprland.org/Configuring/Binds # https://wiki.hyprland.org/Configuring/Binds
binds { binds {
allow_workspace_cycles = 1 allow_workspace_cycles = 1

View File

@ -3,7 +3,7 @@ font-size = 32
outline-width = 0 outline-width = 0
border-width = 0 border-width = 0
padding-left = 34% padding-left = 25%
padding-top = 22% padding-top = 22%
padding-right = 0 padding-right = 0
padding-bottom = 0 padding-bottom = 0