From f737762606a3169823240b2657f5430f09d1a11a Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Wed, 17 Jan 2024 05:42:09 +0900 Subject: [PATCH] added config-clipboard rofi --- config/rofi/config-clipboard.rasi | 217 ++++++++++++++++++++++++++++++ 1 file changed, 217 insertions(+) create mode 100644 config/rofi/config-clipboard.rasi diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi new file mode 100644 index 0000000..d0c9549 --- /dev/null +++ b/config/rofi/config-clipboard.rasi @@ -0,0 +1,217 @@ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ +/* Main Config (long) */ + +/* ---- Configuration ---- */ +configuration { + modi: "drun,run"; + font: "Fira Code SemiBold 14"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; + window-format: "{w} · {c} · {t}"; + dpi: 1; + +} + +/* ---- Load pywal colors (custom wal template) ---- */ +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" + +/* ---- Window ---- */ +window { + width: 700px; + /*height: 500px;*/ + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 2px; + margin: 0px; + border: 2px; + border-color: @active-background; + cursor: "default"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 12px; + background-image: url("~/.config/rofi/.current_wallpaper", height); + +} + +/* ---- Mainbox ---- */ +mainbox { + enabled: true; + orientation: vertical; + padding: 8px; + background-color: transparent; + children: [ "imagebox" ]; + border-radius: 12px; +} + +/* ---- Imagebox ---- */ +imagebox { + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "message", "listbox"]; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 4px; + orientation: vertical; + children: [ "listview", "mode-switcher" ]; + border-radius: 10px; + border: 1px; + border-color: @active-background; + background-color: @background; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 6px; + border-radius: 10px; + border-color: @foreground; + background-color: @background; + children: [ "textbox-prompt-colon", "entry" ]; + border: 1px; + border-color: @active-background; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "🔎 "; + text-color: inherit; + background-color: transparent; +} + +entry { + enabled: true; + text-color: inherit; + cursor: text; + placeholder: "CTRL Del - Cliphist del || Alt Del - cliphist wipe"; + placeholder-color: inherit; + background-color: transparent; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 1; + lines: 9; + spacing: 4px; + dynamic: true; + cycle: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + background-color: transparent; + border-radius: 10px; +} + +/* ---- Element ---- */ +element { + enabled: true; + padding: 2px; + margin: 2px; + cursor: pointer; + background-color: transparent; + border-radius: 10px; +} + +element normal.normal { + background-color: inherit; + text-color: @foreground; +} + +element normal.urgent { + background-color: inherit; + text-color: @foreground; +} + +element normal.active { + background-color: inherit; + text-color: @foreground; +} + +element selected.normal { + background-color: @selected-normal-background; + text-color: @foreground; +} + +element selected.urgent { + background-color: inherit; + text-color: @foreground; +} + +element selected.active { + background-color: inherit; + text-color: @foreground; +} + +element alternate.normal { + background-color: inherit; + text-color: @foreground; +} + +element alternate.urgent { + background-color: inherit; + text-color: @foreground; +} + +element alternate.active { + background-color: inherit; + text-color: @foreground; +} + +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} + +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; +} + +textbox { + padding: 6px; + margin: 0px; + border-radius: 0px; + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +error-message { + padding: 6px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +}