diff --git a/Assets/screenshots/rofi_clipboard.png b/Assets/screenshots/rofi_clipboard.png index c4f46ce..1415a51 100644 Binary files a/Assets/screenshots/rofi_clipboard.png and b/Assets/screenshots/rofi_clipboard.png differ diff --git a/Configs/.config/hypr/keybindings.conf b/Configs/.config/hypr/keybindings.conf index 9082ca3..82dd2a0 100644 --- a/Configs/.config/hypr/keybindings.conf +++ b/Configs/.config/hypr/keybindings.conf @@ -32,7 +32,7 @@ bind = $mainMod, K, exec, $passwordManager bind = $mainMod SHIFT, P, exec, waypaper bind = $mainMod SHIFT, E, exec, emote -bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy +bind = $mainMod, V, exec, cliphist list | rofi -dmenu -theme $HOME/.config/rofi/clipboard.rasi | cliphist decode | wl-copy bind = $mainMod, N, exec, swaync-client -t -sw diff --git a/Configs/.config/rofi/clipboard.rasi b/Configs/.config/rofi/clipboard.rasi new file mode 100644 index 0000000..667858f --- /dev/null +++ b/Configs/.config/rofi/clipboard.rasi @@ -0,0 +1,99 @@ +/*****----- Global Properties -----*****/ +@import "~/.config/rofi/colors.rasi" +* { + background-color: transparent; + text-color: @foreground; +} + +/*****----- Configuration -----*****/ +configuration { + modi: "dmenu"; + show-icons: false; + dmenu { + display-name: "󰨸 "; + } +} + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: south; + width: 600px; + x-offset: 0px; + y-offset: -50px; + border-radius: 24px; + border: 2px solid; + background-color: @background; + border-color: @urgent; +} + +/*****----- Main Box -----*****/ +mainbox { + padding: 12px; + border-radius: 24px; +} + +/*****----- Inputbar -----*****/ +inputbar { + spacing: 10px; + margin: 0px; + padding: 12px 16px; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search Pastes"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + background-color: transparent; + margin: 12px 0 0 0; + lines: 8; + columns: 1; + fixed-height: true; + cycle: false; +} + +/*****----- Elements -----*****/ +element { + padding: 8px 16px; + border-radius: 16px; + cursor: pointer; + +} +element normal active { + text-color: @selected; +} +element alternate active { + text-color: @active; +} +element selected normal, element selected active { + background-color: @selected; +} +element-text { + text-color: inherit; + cursor: inherit; +} +element selected { + text-color: @foreground; +}