From a153022b7d457466db9140c62dc5564f9de7a3af Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 5 Nov 2023 14:02:06 +0900 Subject: changes for new Hyprland-Dots --- config/rofi/.current_wallpaper | Bin 0 -> 2425525 bytes config/rofi/config-cliphist.rasi | 242 ++++++++++++++++++++++++++++++ config/rofi/config-compact.rasi | 246 +++++++++++++++++++++++++++++++ config/rofi/config-long.rasi | 245 ++++++++++++++++++++++++++++++ config/rofi/config-power.rasi | 241 ++++++++++++++++++++++++++++++ config/rofi/config-rofi-Beats.rasi | 246 +++++++++++++++++++++++++++++++ config/rofi/config-screenshot.rasi | 241 ++++++++++++++++++++++++++++++ config/rofi/config-short.rasi | 245 ++++++++++++++++++++++++++++++ config/rofi/config.rasi | 246 +++++++++++++++++++++++++++++++ config/rofi/powermenu/full_rounded.rasi | 112 ++++++++++++++ config/rofi/powermenu/powermenu.sh | 87 +++++++++++ config/rofi/powermenu/styles/colors.rasi | 10 ++ config/rofi/powermenu/styles/nordic.rasi | 9 ++ 13 files changed, 2170 insertions(+) create mode 100644 config/rofi/.current_wallpaper create mode 100644 config/rofi/config-cliphist.rasi create mode 100644 config/rofi/config-compact.rasi create mode 100644 config/rofi/config-long.rasi create mode 100644 config/rofi/config-power.rasi create mode 100644 config/rofi/config-rofi-Beats.rasi create mode 100644 config/rofi/config-screenshot.rasi create mode 100644 config/rofi/config-short.rasi create mode 100644 config/rofi/config.rasi create mode 100644 config/rofi/powermenu/full_rounded.rasi create mode 100755 config/rofi/powermenu/powermenu.sh create mode 100644 config/rofi/powermenu/styles/colors.rasi create mode 100644 config/rofi/powermenu/styles/nordic.rasi (limited to 'config/rofi') diff --git a/config/rofi/.current_wallpaper b/config/rofi/.current_wallpaper new file mode 100644 index 00000000..da779f5b Binary files /dev/null and b/config/rofi/.current_wallpaper differ diff --git a/config/rofi/config-cliphist.rasi b/config/rofi/config-cliphist.rasi new file mode 100644 index 00000000..136bded9 --- /dev/null +++ b/config/rofi/config-cliphist.rasi @@ -0,0 +1,242 @@ + +/* ---- Configuration ---- */ +configuration { + modi: "drun,run"; + font: "Fira Code SemiBold 12"; + 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}"; + +} + +/* ---- Load pywal colors (custom wal template) ---- */ +@import "~/.cache/wal/colors-rofi-dark.rasi" + +/* ---- Window ---- */ +window { + width: 600px; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: #FFFFFF; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 12px; + background-color: transparent; +} + +/* ---- Mainbox ---- */ +mainbox { + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: @background; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: ["listbox"]; +} + +/* ---- Imagebox ---- */ +imagebox { + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "message", "listview" ]; +} + +/* ---- Dummy ---- */ +dummy { + background-color: transparent; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + background-color: rgba(0,0,0,0.4); + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: " "; + background-color: transparent; + text-color: inherit; +} + +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Clipboard Search"; + placeholder-color: inherit; + border-radius: 10px; + border: 0px; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} + +button { + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; +} + +button selected { + background-color: inherit; + text-color: @foreground; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + background-color: rgba(0,0,0,0.6); + border-radius: 10px; + border: 0px; +} + +/* ---- Element ---- */ +element { + enabled: true; + padding: 10px; + margin: 5px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; +} + +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: inherit; + 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: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi new file mode 100644 index 00000000..7248a107 --- /dev/null +++ b/config/rofi/config-compact.rasi @@ -0,0 +1,246 @@ +/* + +*/ + +/* ---- Configuration ---- */ +configuration { + modi: "drun,run"; + font: "Fira Code SemiBold 12"; + 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}"; + +} + +/* ---- Load pywal colors (custom wal template) ---- */ +@import "~/.cache/wal/colors-rofi-dark.rasi" + + +/* ---- Window ---- */ +window { + width: 900px; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: #FFFFFF; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; + background-color: transparent; +} + +/* ---- Mainbox ---- */ +mainbox { + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: @background; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: ["imagebox","listbox"]; +} + +/* ---- Imagebox ---- */ +imagebox { + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/* ---- Dummy ---- */ +dummy { + background-color: transparent; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + background-color: rgba(0,0,0,0.5); + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "🔍"; + background-color: transparent; + text-color: inherit; +} + +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} + +button { + padding: 10px; + border-radius: 10px; + background-color: rgba(0,0,0,0.5); + text-color: inherit; + cursor: pointer; + border: 0px; +} + +button selected { + background-color: @selected-normal-background; + text-color: @foreground; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + background-color: rgba(0,0,0,0.4); + border-radius: 10px; + border: 0px; +} + +/* ---- Element ---- */ +element { + enabled: true; + padding: 2px; + margin: 2px; + cursor: pointer; + background-color: rgba(0,0,0,0); + border-radius: 10px; + border: 0px; +} + +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: 15px; + margin: 0px; + border-radius: 10px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi new file mode 100644 index 00000000..71fe2cbb --- /dev/null +++ b/config/rofi/config-long.rasi @@ -0,0 +1,245 @@ +/* +*/ + + +/* ---- Configuration ---- */ +configuration { + modi: "drun,run"; + font: "Fira Code SemiBold 12"; + 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}"; + +} + +/* ---- Load pywal colors (custom wal template) ---- */ +@import "~/.cache/wal/colors-rofi-dark.rasi" + +/* ---- Window ---- */ +window { + width: 400px; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: #FFFFFF; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; + background-color: transparent; +} + +/* ---- Mainbox ---- */ +mainbox { + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: @background; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: ["listbox"]; +} + +/* ---- Imagebox ---- */ +imagebox { + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "message", "listview" ]; +} + +/* ---- Dummy ---- */ +dummy { + background-color: transparent; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + background-color: rgba(0,0,0,0.5); + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "🔎 "; + background-color: transparent; + text-color: inherit; +} + +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} + +button { + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; +} + +button selected { + background-color: @selected-normal-background; + text-color: @foreground; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 1; + lines: 14; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + background-color: rgba(0,0,0,0.4); + border-radius: 10px; + border: 0px; +} + +/* ---- Element ---- */ +element { + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 2px; +} + +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: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/config/rofi/config-power.rasi b/config/rofi/config-power.rasi new file mode 100644 index 00000000..919b0c7c --- /dev/null +++ b/config/rofi/config-power.rasi @@ -0,0 +1,241 @@ +/* +/** ---- Configuration ---- **/ +configuration { + modi: "drun,filebrowser,window,run"; + font: "Fira Code 12"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + hover-select: true; + me-select-entry: ""; + me-accept-entry: "MousePrimary"; + window-format: "{w} · {c} · {t}"; + +} + +/* ---- Load pywal colors (custom wal template) ---- */ +@import "~/.cache/wal/colors-rofi-dark.rasi" + +/* ---- Window ---- */ +window { + width: 400px; + x-offset: -14px; + y-offset: 65px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: #FFFFFF; + border: 3px; + border-color: #FFFFFF; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; + background-color: transparent; +} + +/* ---- Mainbox ---- */ +mainbox { + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: @background; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: ["listbox"]; +} + +/* ---- Imagebox ---- */ +imagebox { + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "listview" ]; +} + +/* ---- Dummy ---- */ +dummy { + background-color: transparent; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 0px; + border-color: @foreground; + background-color: @background; + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: transparent; + text-color: inherit; +} + +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} + +button { + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; +} + +button selected { + background-color: @selected-normal-background;; + text-color: @foreground; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 1; + lines: 2; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + background-color: @background; + border:0px; +} + +/* ---- Element ---- */ +element { + enabled: true; + padding: 10px; + margin: 5px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 2px; +} + +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: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi new file mode 100644 index 00000000..e3923c8c --- /dev/null +++ b/config/rofi/config-rofi-Beats.rasi @@ -0,0 +1,246 @@ +/* + +*/ + +/* ---- Configuration ---- */ +configuration { + modi: "drun,run"; + font: "Fira Code SemiBold 12"; + 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}"; + +} + +/* ---- Load pywal colors (custom wal template) ---- */ +@import "~/.cache/wal/colors-rofi-dark.rasi" + + +/* ---- Window ---- */ +window { + width: 900px; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: #FFFFFF; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; + background-color: transparent; +} + +/* ---- Mainbox ---- */ +mainbox { + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: @background; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: ["imagebox","listbox"]; +} + +/* ---- Imagebox ---- */ +imagebox { + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/* ---- Dummy ---- */ +dummy { + background-color: transparent; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + background-color: rgba(0,0,0,0.5); + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "🎧 🎶"; + background-color: transparent; + text-color: inherit; +} + +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} + +button { + padding: 10px; + border-radius: 10px; + background-color: rgba(0,0,0,0.5); + text-color: inherit; + cursor: pointer; + border: 0px; +} + +button selected { + background-color: @selected-normal-background; + text-color: @foreground; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + background-color: rgba(0,0,0,0.4); + border-radius: 10px; + border: 0px; +} + +/* ---- Element ---- */ +element { + enabled: true; + padding: 2px; + margin: 2px; + cursor: pointer; + background-color: rgba(0,0,0,0); + border-radius: 10px; + border: 0px; +} + +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: 15px; + margin: 0px; + border-radius: 10px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/config/rofi/config-screenshot.rasi b/config/rofi/config-screenshot.rasi new file mode 100644 index 00000000..f27bbd7e --- /dev/null +++ b/config/rofi/config-screenshot.rasi @@ -0,0 +1,241 @@ +/* +/** ---- Configuration ---- **/ +configuration { + modi: "drun,filebrowser,window,run"; + font: "Fira Code 12"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + hover-select: true; + me-select-entry: ""; + me-accept-entry: "MousePrimary"; + window-format: "{w} · {c} · {t}"; + +} + +/* ---- Load pywal colors (custom wal template) ---- */ +@import "~/.cache/wal/colors-rofi-dark.rasi" + +/* ---- Window ---- */ +window { + width: 400px; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: #FFFFFF; + border: 3px; + border-color: #FFFFFF; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; + background-color: transparent; +} + +/* ---- Mainbox ---- */ +mainbox { + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: @background; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: ["listbox"]; +} + +/* ---- Imagebox ---- */ +imagebox { + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "listview" ]; +} + +/* ---- Dummy ---- */ +dummy { + background-color: transparent; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 0px; + border-color: @foreground; + background-color: @background; + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: transparent; + text-color: inherit; +} + +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} + +button { + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; +} + +button selected { + background-color: @selected-normal-background;; + text-color: @foreground; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 1; + lines: 2; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + background-color: @background; + border:0px; +} + +/* ---- Element ---- */ +element { + enabled: true; + padding: 10px; + margin: 5px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 2px; +} + +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: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/config/rofi/config-short.rasi b/config/rofi/config-short.rasi new file mode 100644 index 00000000..953e9c82 --- /dev/null +++ b/config/rofi/config-short.rasi @@ -0,0 +1,245 @@ +/* +*/ + + +/* ---- Configuration ---- */ +configuration { + modi: "drun,run"; + font: "Fira Code SemiBold 12"; + 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}"; + +} + +/* ---- Load pywal colors (custom wal template) ---- */ +@import "~/.cache/wal/colors-rofi-dark.rasi" + +/* ---- Window ---- */ +window { + width: 400px; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: #FFFFFF; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; + background-color: transparent; +} + +/* ---- Mainbox ---- */ +mainbox { + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: @background; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: ["listbox"]; +} + +/* ---- Imagebox ---- */ +imagebox { + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "message", "listview" ]; +} + +/* ---- Dummy ---- */ +dummy { + background-color: transparent; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + background-color: rgba(0,0,0,0.5); + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "🔎 "; + background-color: transparent; + text-color: inherit; +} + +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} + +button { + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; +} + +button selected { + background-color: @selected-normal-background; + text-color: @foreground; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + background-color: rgba(0,0,0,0.4); + border-radius: 10px; + border: 0px; +} + +/* ---- Element ---- */ +element { + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 2px; +} + +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: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi new file mode 100644 index 00000000..5f228523 --- /dev/null +++ b/config/rofi/config.rasi @@ -0,0 +1,246 @@ +/* + +*/ + +/* ---- Configuration ---- */ +configuration { + modi: "drun,run"; + font: "Fira Code SemiBold 12"; + 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}"; + +} + +/* ---- Load pywal colors (custom wal template) ---- */ +@import "~/.cache/wal/colors-rofi-dark.rasi" + + +/* ---- Window ---- */ +window { + width: 900px; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: #FFFFFF; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; + background-color: transparent; +} + +/* ---- Mainbox ---- */ +mainbox { + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: @background; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: ["imagebox","listbox"]; +} + +/* ---- Imagebox ---- */ +imagebox { + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/* ---- Dummy ---- */ +dummy { + background-color: transparent; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + background-color: rgba(0,0,0,0.5); + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "🔎 "; + background-color: transparent; + text-color: inherit; +} + +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} + +button { + padding: 10px; + border-radius: 10px; + background-color: rgba(0,0,0,0.5); + text-color: inherit; + cursor: pointer; + border: 0px; +} + +button selected { + background-color: @selected-normal-background; + text-color: @foreground; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + background-color: rgba(0,0,0,0.4); + border-radius: 10px; + border: 0px; +} + +/* ---- Element ---- */ +element { + enabled: true; + padding: 2px; + margin: 2px; + cursor: pointer; + background-color: rgba(0,0,0,0); + border-radius: 10px; + border: 0px; +} + +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: 15px; + margin: 0px; + border-radius: 10px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/config/rofi/powermenu/full_rounded.rasi b/config/rofi/powermenu/full_rounded.rasi new file mode 100644 index 00000000..e95df6e3 --- /dev/null +++ b/config/rofi/powermenu/full_rounded.rasi @@ -0,0 +1,112 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Sourcecode Pro Regular 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: rgba ( 46, 52, 62, 0 % ); + text-color: @foreground; + width: 100%; + height: 100%; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: rgba ( 107, 160, 222, 0 % ); + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: rgba ( 107, 160, 222, 0 % ); + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: rgba ( 107, 160, 222, 0 % ); + text-color: @foreground; + expand: false; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: rgba ( 46, 52, 62, 0 % ); + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: rgba ( 46, 52, 62, 80 % ); + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 13.25%; +} + +element { + background-color: rgba ( 46, 52, 62, 0 % ); + text-color: @foreground; + orientation: horizontal; +} + +element-text { + background-color: #00000000; + text-color: inherit; + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 6.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: #BF616A; + text-color: @foreground; + border-radius: 15px; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/config/rofi/powermenu/powermenu.sh b/config/rofi/powermenu/powermenu.sh new file mode 100755 index 00000000..413e7b11 --- /dev/null +++ b/config/rofi/powermenu/powermenu.sh @@ -0,0 +1,87 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# column_circle column_square column_rounded column_alt +# card_circle card_square card_rounded card_alt +# dock_circle dock_square dock_rounded dock_alt +# drop_circle drop_square drop_rounded drop_alt +# full_circle full_square full_rounded full_alt +# row_circle row_square row_rounded row_alt + +theme="full_circle" +dir="$HOME/.config/rofi/powermenu" + +# random colors +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 8 ))]}" + +# comment this line to disable random colors +#sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +#themes=($(ls -p --hide="powermenu.sh" --hide="styles" --hide="confirm.rasi" --hide="message.rasi" $dir)) +#theme="${themes[$(( $RANDOM % 24 ))]}" + +uptime=$(uptime -p | sed -e 's/up //g') + +rofi_command="rofi -theme $dir/full_rounded" + +# Options for powermenu +lock="" +logout="" +shutdown="" +reboot="" +suspend="" + +# Confirmation +confirm_exit() { + rofi -dmenu\ + -i\ + -no-fixed-num-lines\ + -p "Are You Sure? : "\ + -theme $dir/confirm.rasi +} + +# Message +msg() { + rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" +} + +# Variable passed to rofi +options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" + +chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)" +case $chosen in + $shutdown) + systemctl poweroff + ;; + $reboot) + systemctl reboot + ;; + $lock) + betterlockscreen --lock + ;; + $suspend) + mpc -q pause + amixer set Master mute + systemctl suspend + ;; + $logout) + if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == "i3" ]]; then + i3-msg exit + elif [[ "$DESKTOP_SESSION" == "xfce" ]]; then + killall xfce4-session + fi + ;; +esac diff --git a/config/rofi/powermenu/styles/colors.rasi b/config/rofi/powermenu/styles/colors.rasi new file mode 100644 index 00000000..bb29f355 --- /dev/null +++ b/config/rofi/powermenu/styles/colors.rasi @@ -0,0 +1,10 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * bluish berry nordic nightly gotham mask faded cocoa + * + */ + +@import "nordic" diff --git a/config/rofi/powermenu/styles/nordic.rasi b/config/rofi/powermenu/styles/nordic.rasi new file mode 100644 index 00000000..953b52ef --- /dev/null +++ b/config/rofi/powermenu/styles/nordic.rasi @@ -0,0 +1,9 @@ +* { + background: #425775ff; + background-alt: #475C7Bff; + foreground: #ffffffcc; + border: #FDBB6Dff; + border-alt: #DA717Fff; + selected: #685E79ff; + urgent: #DA4453FF; +} -- cgit v1.2.3 From b0b51bc8d22c72064f3ff4aa5304a8179fb491e0 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 5 Nov 2023 16:43:02 +0900 Subject: small update --- config/hypr/scripts/DarkLight-swaybg.sh | 57 --------------------------------- config/hypr/scripts/toggleallfloat.sh | 11 ------- config/rofi/config-compact.rasi | 2 -- config/rofi/config-long.rasi | 3 -- config/rofi/config-rofi-Beats.rasi | 2 -- config/rofi/config.rasi | 2 -- 6 files changed, 77 deletions(-) delete mode 100755 config/hypr/scripts/DarkLight-swaybg.sh delete mode 100755 config/hypr/scripts/toggleallfloat.sh (limited to 'config/rofi') diff --git a/config/hypr/scripts/DarkLight-swaybg.sh b/config/hypr/scripts/DarkLight-swaybg.sh deleted file mode 100755 index ad8aa199..00000000 --- a/config/hypr/scripts/DarkLight-swaybg.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash -set -x -# Define the path -wallpaper_path="$HOME/Pictures/wallpapers/Dynamic-Wallpapers" -hypr_config_path="$HOME/.config/hypr" -waybar_config="$HOME/.config/waybar" -dunst_config="$HOME/.config/dunst" -wofi_config="$HOME/.config/wofi" - -# Tokyo Night -light_gtk_theme="Tokyonight-Light-B" -dark_gtk_theme="Tokyonight-Dark-B" -light_icon_theme="TokyoNight-SE" -dark_icon_theme="TokyoNight-SE" - -# Define functions for notifying user and updating symlinks -notify_user() { - notify-send -h string:x-canonical-private-synchronous:sys-notify -u normal "Switching to $1 mode" -} - -# Determine the current wallpaper mode by checking a configuration file -if [ "$(cat ~/.wallpaper_mode)" = "light" ]; then - current_mode="light" - next_mode="dark" -else - current_mode="dark" - next_mode="light" -fi -path_param=$(echo $next_mode | sed 's/.*/\u&/') - -notify_user "$next_mode" -ln -sf "${waybar_config}/style/style-${next_mode}.css" "${waybar_config}/style.css" -ln -sf "${dunst_config}/styles/dunstrc-${next_mode}" "${dunst_config}/styles/dunstrc" -ln -sf "${wofi_config}/styles/style-${next_mode}.css" "${wofi_config}/style.css" - -gtk_theme="${next_mode}_gtk_theme" -icon_theme="${next_mode}_icon_theme" - -gsettings set org.gnome.desktop.interface gtk-theme "${!gtk_theme}" -gsettings set org.gnome.desktop.interface icon-theme "${!icon_theme}" - -# Find the next wallpaper if one exists -current_wallpaper="$(cat ~/.current_wallpaper)" -next_wallpaper="${current_wallpaper/_"$current_mode"/_"$next_mode"}" - -if ! [ -f "$next_wallpaper" ]; then - next_wallpaper="$(find "${wallpaper_path/"${path_param}"}" -type f -iname "*_"${next_mode}".jpg" -print0 | shuf -n1 -z | xargs -0)" -fi - -swaybg -m fill -i "${next_wallpaper}" & - -# Update the configuration file to reflect the new wallpaper mode and current wallpaper -echo "$next_mode" > ~/.wallpaper_mode -echo "$next_wallpaper" > ~/.current_wallpaper - -sleep 2 -exec ~/.config/hypr/scripts/Refresh.sh & \ No newline at end of file diff --git a/config/hypr/scripts/toggleallfloat.sh b/config/hypr/scripts/toggleallfloat.sh deleted file mode 100755 index fb6737ca..00000000 --- a/config/hypr/scripts/toggleallfloat.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -# _ _ _ __ _ _ -# / \ | | |/ _| | ___ __ _| |_ -# / _ \ | | | |_| |/ _ \ / _` | __| -# / ___ \| | | _| | (_) | (_| | |_ -# /_/ \_\_|_|_| |_|\___/ \__,_|\__| -# -# by Stephan Raabe (2023) -# ----------------------------------------------------- - -hyprctl dispatch workspaceopt allfloat diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index 7248a107..4d2688f1 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -1,7 +1,5 @@ /* -*/ - /* ---- Configuration ---- */ configuration { modi: "drun,run"; diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index 71fe2cbb..efb3625d 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -1,7 +1,4 @@ /* -*/ - - /* ---- Configuration ---- */ configuration { modi: "drun,run"; diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index e3923c8c..08a25d22 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -1,7 +1,5 @@ /* -*/ - /* ---- Configuration ---- */ configuration { modi: "drun,run"; diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 5f228523..8d45154c 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,7 +1,5 @@ /* -*/ - /* ---- Configuration ---- */ configuration { modi: "drun,run"; -- cgit v1.2.3 From 9ab2c32a504aacbe597fa6acd523a77967a6ed10 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 5 Nov 2023 21:47:44 +0900 Subject: small clean up --- config/rofi/powermenu/full_rounded.rasi | 112 ------------------------------- config/rofi/powermenu/powermenu.sh | 87 ------------------------ config/rofi/powermenu/styles/colors.rasi | 10 --- config/rofi/powermenu/styles/nordic.rasi | 9 --- 4 files changed, 218 deletions(-) delete mode 100644 config/rofi/powermenu/full_rounded.rasi delete mode 100755 config/rofi/powermenu/powermenu.sh delete mode 100644 config/rofi/powermenu/styles/colors.rasi delete mode 100644 config/rofi/powermenu/styles/nordic.rasi (limited to 'config/rofi') diff --git a/config/rofi/powermenu/full_rounded.rasi b/config/rofi/powermenu/full_rounded.rasi deleted file mode 100644 index e95df6e3..00000000 --- a/config/rofi/powermenu/full_rounded.rasi +++ /dev/null @@ -1,112 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Sourcecode Pro Regular 14"; - show-icons: false; - icon-theme: "Papirus"; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "styles/colors.rasi" - -window { - transparency: "real"; - background-color: rgba ( 46, 52, 62, 0 % ); - text-color: @foreground; - width: 100%; - height: 100%; -} - -prompt { - enabled: true; - padding: 1% 1% 1% 0%; - background-color: rgba ( 107, 160, 222, 0 % ); - text-color: @foreground; -} - -textbox-prompt-colon { - expand: false; - str: "System |"; - background-color: rgba ( 107, 160, 222, 0 % ); - text-color: @foreground; - padding: 1% 0.5% 1% 0.5%; -} - -inputbar { - children: [ textbox-prompt-colon, prompt ]; - background-color: rgba ( 107, 160, 222, 0 % ); - text-color: @foreground; - expand: false; - margin: 0% 59.3% 0% 0%; - padding: 0.5%; - position: center; -} - -listview { - background-color: rgba ( 46, 52, 62, 0 % ); - margin: 0% 0% 0% 0%; - spacing: 3%; - cycle: true; - dynamic: true; - layout: horizontal; -} - -mainbox { - background-color: rgba ( 46, 52, 62, 80 % ); - children: [ inputbar, listview ]; - spacing: 5%; - padding: 32.50% 0% 0% 13.25%; -} - -element { - background-color: rgba ( 46, 52, 62, 0 % ); - text-color: @foreground; - orientation: horizontal; -} - -element-text { - background-color: #00000000; - text-color: inherit; - font: "feather 64"; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 6.5% 4% 6.5% 4%; -} - -element normal.urgent, -element alternate.urgent { - background-color: @urgent; - text-color: @foreground; -} - -element normal.active, -element alternate.active { - background-color: @background-alt; - text-color: @foreground; -} - -element selected { - background-color: #BF616A; - text-color: @foreground; - border-radius: 15px; -} - -element selected.urgent { - background-color: @urgent; - text-color: @foreground; -} - -element selected.active { - background-color: @background-alt; - color: @foreground; -} diff --git a/config/rofi/powermenu/powermenu.sh b/config/rofi/powermenu/powermenu.sh deleted file mode 100755 index 413e7b11..00000000 --- a/config/rofi/powermenu/powermenu.sh +++ /dev/null @@ -1,87 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -# Available Styles -# >> Created and tested on : rofi 1.6.0-1 -# -# column_circle column_square column_rounded column_alt -# card_circle card_square card_rounded card_alt -# dock_circle dock_square dock_rounded dock_alt -# drop_circle drop_square drop_rounded drop_alt -# full_circle full_square full_rounded full_alt -# row_circle row_square row_rounded row_alt - -theme="full_circle" -dir="$HOME/.config/rofi/powermenu" - -# random colors -styles=($(ls -p --hide="colors.rasi" $dir/styles)) -color="${styles[$(( $RANDOM % 8 ))]}" - -# comment this line to disable random colors -#sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi - -# comment these lines to disable random style -#themes=($(ls -p --hide="powermenu.sh" --hide="styles" --hide="confirm.rasi" --hide="message.rasi" $dir)) -#theme="${themes[$(( $RANDOM % 24 ))]}" - -uptime=$(uptime -p | sed -e 's/up //g') - -rofi_command="rofi -theme $dir/full_rounded" - -# Options for powermenu -lock="" -logout="" -shutdown="" -reboot="" -suspend="" - -# Confirmation -confirm_exit() { - rofi -dmenu\ - -i\ - -no-fixed-num-lines\ - -p "Are You Sure? : "\ - -theme $dir/confirm.rasi -} - -# Message -msg() { - rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" -} - -# Variable passed to rofi -options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" - -chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)" -case $chosen in - $shutdown) - systemctl poweroff - ;; - $reboot) - systemctl reboot - ;; - $lock) - betterlockscreen --lock - ;; - $suspend) - mpc -q pause - amixer set Master mute - systemctl suspend - ;; - $logout) - if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == "i3" ]]; then - i3-msg exit - elif [[ "$DESKTOP_SESSION" == "xfce" ]]; then - killall xfce4-session - fi - ;; -esac diff --git a/config/rofi/powermenu/styles/colors.rasi b/config/rofi/powermenu/styles/colors.rasi deleted file mode 100644 index bb29f355..00000000 --- a/config/rofi/powermenu/styles/colors.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Change the colorscheme for every menu simply by editing this file... - * - * Available Color Schemes - * - * bluish berry nordic nightly gotham mask faded cocoa - * - */ - -@import "nordic" diff --git a/config/rofi/powermenu/styles/nordic.rasi b/config/rofi/powermenu/styles/nordic.rasi deleted file mode 100644 index 953b52ef..00000000 --- a/config/rofi/powermenu/styles/nordic.rasi +++ /dev/null @@ -1,9 +0,0 @@ -* { - background: #425775ff; - background-alt: #475C7Bff; - foreground: #ffffffcc; - border: #FDBB6Dff; - border-alt: #DA717Fff; - selected: #685E79ff; - urgent: #DA4453FF; -} -- cgit v1.2.3 From 4dcde3fd2617d934b86ac7e261a3fc2de42599f3 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Sun, 5 Nov 2023 23:21:33 +0900 Subject: small update --- config/kitty/kitty.conf | 4 +- config/rofi/.current_wallpaper | Bin 2425525 -> 1772664 bytes config/rofi/config-cliphist.rasi | 2 +- config/rofi/config-compact.rasi | 3 +- config/rofi/config-long.rasi | 2 +- config/rofi/config-power.rasi | 10 +- config/rofi/config-rofi-Beats.rasi | 3 +- config/rofi/config-screenshot.rasi | 241 ----------------------------------- config/rofi/config-short.rasi | 5 +- config/rofi/config.rasi | 20 ++- config/waybar/configs/config-default | 8 +- config/waybar/modules | 6 +- 12 files changed, 29 insertions(+), 275 deletions(-) delete mode 100644 config/rofi/config-screenshot.rasi (limited to 'config/rofi') diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf index ed8e3655..2ae87eeb 100644 --- a/config/kitty/kitty.conf +++ b/config/kitty/kitty.conf @@ -8,4 +8,6 @@ bold_italic_font auto background_opacity 0.7 -confirm_os_window_close 0 \ No newline at end of file +confirm_os_window_close 0 + +enable_audio_bell no \ No newline at end of file diff --git a/config/rofi/.current_wallpaper b/config/rofi/.current_wallpaper index da779f5b..87f78670 100644 Binary files a/config/rofi/.current_wallpaper and b/config/rofi/.current_wallpaper differ diff --git a/config/rofi/config-cliphist.rasi b/config/rofi/config-cliphist.rasi index 136bded9..7dd5d88c 100644 --- a/config/rofi/config-cliphist.rasi +++ b/config/rofi/config-cliphist.rasi @@ -1,4 +1,4 @@ - +/* 💫 https://github.com/JaKooLit 💫 */ /* ---- Configuration ---- */ configuration { modi: "drun,run"; diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index 4d2688f1..8d854a22 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -1,5 +1,4 @@ -/* - +/* 💫 https://github.com/JaKooLit 💫 */ /* ---- Configuration ---- */ configuration { modi: "drun,run"; diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index efb3625d..2decab5c 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -1,4 +1,4 @@ -/* +/* 💫 https://github.com/JaKooLit 💫 */ /* ---- Configuration ---- */ configuration { modi: "drun,run"; diff --git a/config/rofi/config-power.rasi b/config/rofi/config-power.rasi index 919b0c7c..58a35dd6 100644 --- a/config/rofi/config-power.rasi +++ b/config/rofi/config-power.rasi @@ -1,8 +1,8 @@ -/* -/** ---- Configuration ---- **/ +/* 💫 https://github.com/JaKooLit 💫 */ +/* ---- Configuration ---- */ configuration { - modi: "drun,filebrowser,window,run"; - font: "Fira Code 12"; + modi: "drun,run"; + font: "Fira Code SemiBold 12"; show-icons: true; display-drun: ""; display-run: ""; @@ -10,7 +10,7 @@ configuration { display-window: ""; drun-display-format: "{name}"; hover-select: true; - me-select-entry: ""; + me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; window-format: "{w} · {c} · {t}"; diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 08a25d22..1d3a4700 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -1,5 +1,4 @@ -/* - +/* 💫 https://github.com/JaKooLit 💫 */ /* ---- Configuration ---- */ configuration { modi: "drun,run"; diff --git a/config/rofi/config-screenshot.rasi b/config/rofi/config-screenshot.rasi deleted file mode 100644 index f27bbd7e..00000000 --- a/config/rofi/config-screenshot.rasi +++ /dev/null @@ -1,241 +0,0 @@ -/* -/** ---- Configuration ---- **/ -configuration { - modi: "drun,filebrowser,window,run"; - font: "Fira Code 12"; - show-icons: true; - display-drun: ""; - display-run: ""; - display-filebrowser: ""; - display-window: ""; - drun-display-format: "{name}"; - hover-select: true; - me-select-entry: ""; - me-accept-entry: "MousePrimary"; - window-format: "{w} · {c} · {t}"; - -} - -/* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" - -/* ---- Window ---- */ -window { - width: 400px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 3px; - border-color: #FFFFFF; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; -} - -/* ---- Mainbox ---- */ -mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["listbox"]; -} - -/* ---- Imagebox ---- */ -imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -/* ---- Listbox ---- */ -listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "listview" ]; -} - -/* ---- Dummy ---- */ -dummy { - background-color: transparent; -} - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 0px; - border-color: @foreground; - background-color: @background; - children: [ "textbox-prompt-colon", "entry" ]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: transparent; - text-color: inherit; -} - -entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/* ---- Mode Switcher ---- */ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} - -button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; -} - -button selected { - background-color: @selected-normal-background;; - text-color: @foreground; -} - -/* ---- Listview ---- */ -listview { - enabled: true; - columns: 1; - lines: 2; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: @background; - border:0px; -} - -/* ---- Element ---- */ -element { - enabled: true; - padding: 10px; - margin: 5px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 2px; -} - -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: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/config-short.rasi b/config/rofi/config-short.rasi index 953e9c82..fbb70e22 100644 --- a/config/rofi/config-short.rasi +++ b/config/rofi/config-short.rasi @@ -1,7 +1,4 @@ -/* -*/ - - +/* 💫 https://github.com/JaKooLit 💫 */ /* ---- Configuration ---- */ configuration { modi: "drun,run"; diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 8d45154c..0e257d2d 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,5 +1,4 @@ -/* - +/* 💫 https://github.com/JaKooLit 💫 */ /* ---- Configuration ---- */ configuration { modi: "drun,run"; @@ -20,7 +19,6 @@ configuration { /* ---- Load pywal colors (custom wal template) ---- */ @import "~/.cache/wal/colors-rofi-dark.rasi" - /* ---- Window ---- */ window { width: 900px; @@ -50,7 +48,7 @@ mainbox { margin: 0px; background-color: @background; background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["imagebox","listbox"]; + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ @@ -99,7 +97,7 @@ entry { background-color: transparent; text-color: inherit; cursor: text; - placeholder: "Search"; + placeholder: "Choose"; placeholder-color: inherit; } @@ -114,7 +112,7 @@ mode-switcher{ button { padding: 10px; border-radius: 10px; - background-color: rgba(0,0,0,0.5); + background-color: @background; text-color: inherit; cursor: pointer; border: 0px; @@ -129,7 +127,7 @@ button selected { listview { enabled: true; columns: 1; - lines: 12; + lines: 8; cycle: true; dynamic: true; scrollbar: false; @@ -148,12 +146,12 @@ listview { /* ---- Element ---- */ element { enabled: true; - padding: 2px; + padding: 5px; margin: 2px; cursor: pointer; - background-color: rgba(0,0,0,0); + background-color: @background; border-radius: 10px; - border: 0px; + border: 2px; } element normal.normal { @@ -229,7 +227,7 @@ message { textbox { padding: 15px; margin: 0px; - border-radius: 10px; + border-radius: 0px; background-color: @background; text-color: @foreground; vertical-align: 0.5; diff --git a/config/waybar/configs/config-default b/config/waybar/configs/config-default index 4cc3955c..4567d761 100644 --- a/config/waybar/configs/config-default +++ b/config/waybar/configs/config-default @@ -47,10 +47,10 @@ //"network", //"custom/separator#dot-line", //"cava", - //"battery", - //"custom/separator#dot-line", - //"backlight", - //"custom/separator#dot-line", + "battery", + "custom/separator#dot-line", + "backlight", + "custom/separator#dot-line", "pulseaudio", "custom/separator#dot-line", //"wireplumber", diff --git a/config/waybar/modules b/config/waybar/modules index 7de38d0a..6617ed34 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -265,7 +265,7 @@ "interval": 10, "tooltip": false, //"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input", - "thermal-zone": 2, + "thermal-zone": 0, "critical-threshold": 82, "format-critical": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}", @@ -460,8 +460,8 @@ "temperature#vertical": { "interval": 10, "tooltip": true, - "hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", - //"thermal-zone": 0, + //"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", + "thermal-zone": 0, "critical-threshold": 80, "format-critical": "{icon}\n{temperatureC}°C", "format": " {icon}", -- cgit v1.2.3 From e928dc010c3d3f2c7e2450bf911ce3be08acdc76 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Sun, 5 Nov 2023 23:42:15 +0900 Subject: updated rofi and waybar --- config/rofi/config-cliphist.rasi | 5 +++-- config/rofi/config-compact.rasi | 5 +++-- config/rofi/config-long.rasi | 5 +++-- config/rofi/config-power.rasi | 5 +++-- config/rofi/config-rofi-Beats.rasi | 5 +++-- config/rofi/config-short.rasi | 5 +++-- config/rofi/config.rasi | 7 ++++--- copy.sh | 6 +----- 8 files changed, 23 insertions(+), 20 deletions(-) (limited to 'config/rofi') diff --git a/config/rofi/config-cliphist.rasi b/config/rofi/config-cliphist.rasi index 7dd5d88c..78447700 100644 --- a/config/rofi/config-cliphist.rasi +++ b/config/rofi/config-cliphist.rasi @@ -1,4 +1,5 @@ -/* 💫 https://github.com/JaKooLit 💫 */ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + /* ---- Configuration ---- */ configuration { modi: "drun,run"; @@ -8,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index 8d854a22..a4109e89 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -1,4 +1,5 @@ -/* 💫 https://github.com/JaKooLit 💫 */ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + /* ---- Configuration ---- */ configuration { modi: "drun,run"; @@ -8,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index 2decab5c..5d4bedc3 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -1,4 +1,5 @@ -/* 💫 https://github.com/JaKooLit 💫 */ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + /* ---- Configuration ---- */ configuration { modi: "drun,run"; @@ -8,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; diff --git a/config/rofi/config-power.rasi b/config/rofi/config-power.rasi index 58a35dd6..76817e31 100644 --- a/config/rofi/config-power.rasi +++ b/config/rofi/config-power.rasi @@ -1,4 +1,5 @@ -/* 💫 https://github.com/JaKooLit 💫 */ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + /* ---- Configuration ---- */ configuration { modi: "drun,run"; @@ -8,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 1d3a4700..37c3f052 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -1,4 +1,5 @@ -/* 💫 https://github.com/JaKooLit 💫 */ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + /* ---- Configuration ---- */ configuration { modi: "drun,run"; @@ -8,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; diff --git a/config/rofi/config-short.rasi b/config/rofi/config-short.rasi index fbb70e22..6c9be9af 100644 --- a/config/rofi/config-short.rasi +++ b/config/rofi/config-short.rasi @@ -1,4 +1,5 @@ -/* 💫 https://github.com/JaKooLit 💫 */ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + /* ---- Configuration ---- */ configuration { modi: "drun,run"; @@ -8,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 0e257d2d..c10e60d5 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,4 +1,5 @@ -/* 💫 https://github.com/JaKooLit 💫 */ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + /* ---- Configuration ---- */ configuration { modi: "drun,run"; @@ -8,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -151,7 +152,7 @@ element { cursor: pointer; background-color: @background; border-radius: 10px; - border: 2px; + border: 0px; } element normal.normal { diff --git a/copy.sh b/copy.sh index cc42efe9..ce8dc68e 100644 --- a/copy.sh +++ b/copy.sh @@ -113,14 +113,10 @@ cp -r wallpapers ~/Pictures/ && { echo "${OK}Copy completed!"; } || { echo "${ER # Initial Symlinks to avoid errors # symlinks for waybar ln -sf "$HOME/.config/waybar/configs/config-default" "$HOME/.config/waybar/config" && \ -ln -sf "$HOME/.config/waybar/style/style-dark.css" "$HOME/.config/waybar/style.css" && \ +ln -sf "$HOME/.config/waybar/style/style-pywal.css" "$HOME/.config/waybar/style.css" && \ # symlinks for dunst ln -sf "$HOME/.config/dunst/styles/dunstrc-dark" "$HOME/.config/dunst/dunstrc" && \ -# symlink for wofi -ln -sf "$HOME/.config/wofi/styles/style-dark.css" "$HOME/.config/wofi/style.css" && \ -ln -sf "$HOME/.config/wofi/configs/config-default" "$HOME/.config/wofi/config" && \ - # Set some files as executable chmod +x ~/.config/hypr/scripts/* 2>&1 | tee -a "$LOG" -- cgit v1.2.3 From 747a78071eb4a717b19f37dc69fb41ba707312a9 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 Nov 2023 19:06:05 +0900 Subject: small tweak for rofi --- config/hypr/initial-boot.sh | 3 + config/hypr/scripts/DarkLight.sh | 10 +- config/rofi/.current_wallpaper | Bin 1772664 -> 2245985 bytes config/rofi/config-cliphist.rasi | 265 +++++++++++++++--------------- config/rofi/config-compact.rasi | 266 +++++++++++++++---------------- config/rofi/config-long.rasi | 265 +++++++++++++++--------------- config/rofi/config-power.rasi | 242 ---------------------------- config/rofi/config-rofi-Beats.rasi | 266 +++++++++++++++---------------- config/rofi/config-short.rasi | 265 +++++++++++++++--------------- config/rofi/config.rasi | 265 +++++++++++++++--------------- config/rofi/pywal-color/Readme.md | 3 + config/rofi/pywal-color/pywal-theme.rasi | 1 + 12 files changed, 798 insertions(+), 1053 deletions(-) delete mode 100644 config/rofi/config-power.rasi create mode 100644 config/rofi/pywal-color/Readme.md create mode 100644 config/rofi/pywal-color/pywal-theme.rasi (limited to 'config/rofi') diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 0e68f792..6b0bd72a 100644 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -14,6 +14,9 @@ if [ ! -f ~/.hyprland_startup_done ]; then # Run wal with random wallpapers from ~/Pictures/wallpapers wal -i ~/Pictures/wallpapers/* echo "Pywal initialized" + + #initial symlink for Pywal Dark and Light for Rofi Themes + ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" fi fi diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh index 80f30b38..f20dc337 100755 --- a/config/hypr/scripts/DarkLight.sh +++ b/config/hypr/scripts/DarkLight.sh @@ -45,11 +45,11 @@ ln -sf "${waybar_config}/style/style-pywal.css" "${waybar_config}/style.css" ln -sf "${dunst_config}/styles/dunstrc-${next_mode}" "${dunst_config}/styles/dunstrc" # Symlink for rofi theme -#if [ "$next_mode" = "dark" ]; then -# ln -sf $dark_rofi_pywal "$HOME/.config/rofi/pywal-theme.rasi" -#else -# ln -sf $light_rofi_pywal "$HOME/.config/rofi/pywal-theme.rasi" -#fi +if [ "$next_mode" = "dark" ]; then + ln -sf $dark_rofi_pywal "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" +else + ln -sf $light_rofi_pywal "$HOME/.config/rofi/pywal-color/pywal-theme.rasi" +fi gtk_theme="${next_mode}_gtk_theme" icon_theme="${next_mode}_icon_theme" diff --git a/config/rofi/.current_wallpaper b/config/rofi/.current_wallpaper index 87f78670..53f37844 100644 Binary files a/config/rofi/.current_wallpaper and b/config/rofi/.current_wallpaper differ diff --git a/config/rofi/config-cliphist.rasi b/config/rofi/config-cliphist.rasi index 78447700..c92eed9a 100644 --- a/config/rofi/config-cliphist.rasi +++ b/config/rofi/config-cliphist.rasi @@ -9,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,226 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 600px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 12px; - background-color: transparent; + width: 30%; + height: 30%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["listbox"]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.4); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: " "; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "🔎 "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Clipboard Search"; - placeholder-color: inherit; - border-radius: 10px; - border: 0px; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: inherit; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.6); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 10px; - margin: 5px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 0px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: inherit; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + 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; + 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; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/config-compact.rasi b/config/rofi/config-compact.rasi index a4109e89..c92eed9a 100644 --- a/config/rofi/config-compact.rasi +++ b/config/rofi/config-compact.rasi @@ -9,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,227 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" - +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 900px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; + width: 30%; + height: 30%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["imagebox","listbox"]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.5); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "🔍"; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "🔎 "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: rgba(0,0,0,0.5); - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.4); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 2px; - margin: 2px; - cursor: pointer; - background-color: rgba(0,0,0,0); - border-radius: 10px; - border: 0px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + 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; + 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; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 10px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi index 5d4bedc3..fa41def3 100644 --- a/config/rofi/config-long.rasi +++ b/config/rofi/config-long.rasi @@ -9,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,226 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 400px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; + width: 20%; + height: 50%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["listbox"]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.5); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "🔎 "; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "🔎 "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 14; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.4); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 5px; - margin: 2px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 2px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + 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; + 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; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/config-power.rasi b/config/rofi/config-power.rasi deleted file mode 100644 index 76817e31..00000000 --- a/config/rofi/config-power.rasi +++ /dev/null @@ -1,242 +0,0 @@ -/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ - -/* ---- Configuration ---- */ -configuration { - modi: "drun,run"; - font: "Fira Code SemiBold 12"; - 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}"; - -} - -/* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" - -/* ---- Window ---- */ -window { - width: 400px; - x-offset: -14px; - y-offset: 65px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 3px; - border-color: #FFFFFF; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; -} - -/* ---- Mainbox ---- */ -mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["listbox"]; -} - -/* ---- Imagebox ---- */ -imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; -} - -/* ---- Listbox ---- */ -listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "listview" ]; -} - -/* ---- Dummy ---- */ -dummy { - background-color: transparent; -} - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 0px; - border-color: @foreground; - background-color: @background; - children: [ "textbox-prompt-colon", "entry" ]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - background-color: transparent; - text-color: inherit; -} - -entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Search"; - placeholder-color: inherit; -} - -/* ---- Mode Switcher ---- */ -mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; -} - -button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; -} - -button selected { - background-color: @selected-normal-background;; - text-color: @foreground; -} - -/* ---- Listview ---- */ -listview { - enabled: true; - columns: 1; - lines: 2; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: @background; - border:0px; -} - -/* ---- Element ---- */ -element { - enabled: true; - padding: 10px; - margin: 5px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 2px; -} - -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: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; -} diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index 37c3f052..4830c974 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -9,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,227 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" - +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 900px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; + width: 30%; + height: 34%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["imagebox","listbox"]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.5); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "🎧 🎶"; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "🔎 "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: rgba(0,0,0,0.5); - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 12; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.4); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 2px; - margin: 2px; - cursor: pointer; - background-color: rgba(0,0,0,0); - border-radius: 10px; - border: 0px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + 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; + 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; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 10px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/config-short.rasi b/config/rofi/config-short.rasi index 6c9be9af..fa41def3 100644 --- a/config/rofi/config-short.rasi +++ b/config/rofi/config-short.rasi @@ -9,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,226 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 400px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; + width: 20%; + height: 50%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: ["listbox"]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.5); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "🔎 "; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "🔎 "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.4); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 5px; - margin: 2px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 2px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + 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; + 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; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index c10e60d5..c92eed9a 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -9,7 +9,7 @@ configuration { display-run: ""; display-filebrowser: ""; display-window: ""; - drun-display-format: "{name}"; + drun-display-format: "{name}"; hover-select: true; me-select-entry: "MouseSecondary"; me-accept-entry: "MousePrimary"; @@ -18,226 +18,223 @@ configuration { } /* ---- Load pywal colors (custom wal template) ---- */ -@import "~/.cache/wal/colors-rofi-dark.rasi" +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" /* ---- Window ---- */ window { - width: 900px; - x-offset: 0px; - y-offset: 0px; - spacing: 0px; - padding: 0px; - margin: 0px; - color: #FFFFFF; - border: 2px; - border-color: @background; - cursor: "default"; - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - enabled: true; - border-radius: 10px; - background-color: transparent; + width: 30%; + height: 30%; + x-offset: 0px; + y-offset: 0px; + spacing: 0px; + padding: 0px; + margin: 0px; + color: transparent; + border: 2px; + border-color: @background; + cursor: "default"; + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + enabled: true; + border-radius: 10px; } /* ---- Mainbox ---- */ mainbox { - enabled: true; - orientation: horizontal; - spacing: 0px; - margin: 0px; - background-color: @background; - background-image: url("~/.config/rofi/.current_wallpaper", height); - children: [ "imagebox", "listbox" ]; + enabled: true; + orientation: horizontal; + spacing: 0px; + margin: 0px; + background-color: transparent; + background-image: url("~/.config/rofi/.current_wallpaper", height); + children: [ "imagebox", "listbox" ]; } /* ---- Imagebox ---- */ imagebox { - padding: 18px; - background-color: transparent; - orientation: vertical; - children: [ "inputbar", "dummy", "mode-switcher" ]; + padding: 18px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; } /* ---- Listbox ---- */ listbox { - spacing: 20px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; + spacing: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; } - /* ---- Dummy ---- */ dummy { - background-color: transparent; + background-color: transparent; } /* ---- Inputbar ---- */ inputbar { - enabled: true; - text-color: @foreground; - spacing: 10px; - padding: 15px; - border-radius: 10px; - border-color: @foreground; - background-color: rgba(0,0,0,0.5); - children: [ "textbox-prompt-colon", "entry" ]; + enabled: true; + text-color: @foreground; + spacing: 10px; + padding: 15px; + border-radius: 10px; + border-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; } textbox-prompt-colon { - enabled: true; - expand: false; - str: "🔎 "; - background-color: transparent; - text-color: inherit; + enabled: true; + expand: false; + str: "🔎 "; + text-color: inherit; } entry { - enabled: true; - background-color: transparent; - text-color: inherit; - cursor: text; - placeholder: "Choose"; - placeholder-color: inherit; + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Choose"; + placeholder-color: inherit; } /* ---- Mode Switcher ---- */ mode-switcher{ - enabled: true; - spacing: 20px; - background-color: transparent; - text-color: @foreground; + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; } button { - padding: 10px; - border-radius: 10px; - background-color: @background; - text-color: inherit; - cursor: pointer; - border: 0px; + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: inherit; + cursor: pointer; + border: 0px; } button selected { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } /* ---- Listview ---- */ listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - spacing: 0px; - padding: 10px; - margin: 0px; - background-color: rgba(0,0,0,0.4); - border-radius: 10px; - border: 0px; + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 0px; + padding: 10px; + margin: 0px; + border-radius: 10px; + border: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", height); } /* ---- Element ---- */ element { - enabled: true; - padding: 5px; - margin: 2px; - cursor: pointer; - background-color: @background; - border-radius: 10px; - border: 0px; + enabled: true; + padding: 5px; + margin: 2px; + cursor: pointer; + background-color: @background; + border-radius: 10px; + border: 0px; } element normal.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element normal.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.normal { - background-color: @selected-normal-background; - text-color: @foreground; + background-color: @selected-normal-background; + text-color: @foreground; } element selected.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element selected.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.normal { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.urgent { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element alternate.active { - background-color: inherit; - text-color: @foreground; + background-color: inherit; + text-color: @foreground; } element-icon { - background-color: transparent; - text-color: inherit; - size: 32px; - cursor: inherit; + 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; + 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; + background-color: transparent; + border: 0px; + margin: 20px 0px 0px 0px; + padding: 0px; + spacing: 0px; + border-radius: 10px; } textbox { - padding: 15px; - margin: 0px; - border-radius: 0px; - background-color: @background; - text-color: @foreground; - vertical-align: 0.5; - horizontal-align: 0.0; + padding: 15px; + margin: 0px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; } error-message { - padding: 15px; - border-radius: 20px; - background-color: @background; - text-color: @foreground; + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; } diff --git a/config/rofi/pywal-color/Readme.md b/config/rofi/pywal-color/Readme.md new file mode 100644 index 00000000..5e2da85d --- /dev/null +++ b/config/rofi/pywal-color/Readme.md @@ -0,0 +1,3 @@ +# NOTE!! + +This is symlink from ~/.cache/wal/colors-rofi-dark.rasi or ~/.cache/wal/colors-rofi-dark.rasi. Do not delete this folder and files else rofi theme wont be loaded. \ No newline at end of file diff --git a/config/rofi/pywal-color/pywal-theme.rasi b/config/rofi/pywal-color/pywal-theme.rasi new file mode 100644 index 00000000..845132aa --- /dev/null +++ b/config/rofi/pywal-color/pywal-theme.rasi @@ -0,0 +1 @@ +This is for symlink. DO NOT delete \ No newline at end of file -- cgit v1.2.3 From 57a1fb561306905f28715d5420980a6416b93f59 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 Nov 2023 19:06:46 +0900 Subject: eh --- config/rofi/pywal-color/pywal-theme.rasi | 1 - 1 file changed, 1 deletion(-) delete mode 100644 config/rofi/pywal-color/pywal-theme.rasi (limited to 'config/rofi') diff --git a/config/rofi/pywal-color/pywal-theme.rasi b/config/rofi/pywal-color/pywal-theme.rasi deleted file mode 100644 index 845132aa..00000000 --- a/config/rofi/pywal-color/pywal-theme.rasi +++ /dev/null @@ -1 +0,0 @@ -This is for symlink. DO NOT delete \ No newline at end of file -- cgit v1.2.3 From 41a0af51c0515f87d480b50b634ce83159137d20 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 6 Nov 2023 19:07:41 +0900 Subject: update --- config/rofi/pywal-color/pywal-theme.rasi | 1 + 1 file changed, 1 insertion(+) create mode 100644 config/rofi/pywal-color/pywal-theme.rasi (limited to 'config/rofi') diff --git a/config/rofi/pywal-color/pywal-theme.rasi b/config/rofi/pywal-color/pywal-theme.rasi new file mode 100644 index 00000000..e729892e --- /dev/null +++ b/config/rofi/pywal-color/pywal-theme.rasi @@ -0,0 +1 @@ +For symlink. DO NOT DELETE \ No newline at end of file -- cgit v1.2.3