Fix: Style clipboard menu with the launcher theme

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 08:17:13 +01:00
parent 818971b29c
commit 206bf15bf4

View File

@@ -3,7 +3,7 @@
# Clipboard Manager. This script uses cliphist, rofi, and wl-copy. # Clipboard Manager. This script uses cliphist, rofi, and wl-copy.
# Variables # Variables
rofi_theme="$HOME/.config/rofi/config-clipboard.rasi" rofi_theme="$HOME/.config/rofi/launchers/type-4/style-4.rasi"
msg='👀 **note** CTRL DEL = cliphist del (entry) or ALT DEL - cliphist wipe (all)' msg='👀 **note** CTRL DEL = cliphist del (entry) or ALT DEL - cliphist wipe (all)'
# Actions: # Actions:
# CTRL Del to delete an entry # CTRL Del to delete an entry
@@ -19,7 +19,9 @@ while true; do
rofi -i -dmenu \ rofi -i -dmenu \
-kb-custom-1 "Control-Delete" \ -kb-custom-1 "Control-Delete" \
-kb-custom-2 "Alt-Delete" \ -kb-custom-2 "Alt-Delete" \
-config $rofi_theme < <(cliphist list) \ -theme "$rofi_theme" \
-theme-str 'mainbox { children: [ "inputbar", "message", "listview" ]; }' \
< <(cliphist list) \
-mesg "$msg" -mesg "$msg"
) )