From 182149bbfd13da76ca962ae1e5bc34eadb94139e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 17 May 2024 15:36:05 +0900 Subject: created a master rofi config --- config/rofi/config.rasi | 231 +----------------------------- config/rofi/master-config.rasi | 235 +++++++++++++++++++++++++++++++ config/rofi/resolution/1080p/config.rasi | 230 +----------------------------- config/rofi/resolution/1440p/config.rasi | 217 ++-------------------------- 4 files changed, 251 insertions(+), 662 deletions(-) create mode 100644 config/rofi/master-config.rasi (limited to 'config/rofi') diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 2042f9c5..88db7ba9 100755 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -1,236 +1,13 @@ /* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ /* Main Config 1080p */ -/* ---- Configuration ---- */ +@import "~/.config/rofi/master-config.rasi" +/* ---- Configuration ---- */ configuration { - modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 12"; - show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; - drun-display-format: "{name}"; - hover-select: true; - me-select-entry: "MouseSecondary"; - me-accept-entry: "MousePrimary"; - window-format: "{w} ยท {c} ยท {t}"; - dpi: 1; -} - -/* ---- Load wallust colors ---- */ -@theme "~/.config/rofi/wallust/colors-rofi.rasi" - -/* ---- Global Properties ---- */ -* { - - background-alt: @selected-active-background; // Buttons backgroundr - selected: @selected-urgent-background; // Button selected - active: @selected-normal-background; // Window activated - urgent: @selected; // When hovering the activated window (maybe more?) - - text-selected: @background; - text-color: @foreground; - border-color: @selected; -} - -/* ---- Window ---- */ -window { - // Default - enabled: true; - fullscreen: false; - transparency: "real"; - cursor: "default"; - spacing: 0px; - border: 2px; - border-radius: 30px; - location: center; - anchor: center; - - // Style Values - width: 50%; - background-color: @background; -} - -/* ----- Main Box ----- */ -mainbox { - padding: 15px; - enabled: true; - orientation: vertical; - children: [ "inputbar", "listbox" ]; - background-color: transparent; -} - - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - padding: 10px 10px 200px 10px; - margin: 10px; - background-color: transparent; - border-radius: 25px; - orientation: horizontal; - children: ["entry", "dummy", "mode-switcher" ]; - background-image: url("~/.config/rofi/.current_wallpaper", width); -} - -/* ---- Entry input ---- */ -entry { - enabled: true; - expand: false; - width: 20%; - padding: 10px; - border-radius: 12px; - background-color: @selected; - text-color: @text-selected; - cursor: text; - placeholder: "๐Ÿ–ฅ๏ธ Search "; // << Search symbol - placeholder-color: inherit; -} - -/* ---- Listbox ---- */ -listbox { - spacing: 10px; - padding: 10px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/* ---- Listview ---- */ -listview { - enabled: true; - columns: 2; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: false; - fixed-columns: true; - spacing: 10px; - background-color: transparent; - -// Adapt rofi theme - border: 0px; -} - -/* ---- Dummy ---- */ -dummy { - expand: true; - background-color: transparent; + font: "Fira Code SemiBold 12"; } -/* ---- Mode Switcher ---- */ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; -} -button { - width: 5%; - padding: 12px; - border-radius: 12px; - background-color: @text-selected; - text-color: @text-color; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @text-selected; -} - -/* ---- Scrollbar ---- */ -scrollbar { - width: 4px ; - border: 0; - handle-color: @border-color; - handle-width: 8px ; - padding: 0; -} - -/* ---- Elements ---- */ -element { - enabled: true; - spacing: 10px; - padding: 10px; - border-radius: 12px; - background-color: transparent; - cursor: pointer; -} - -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} - -element selected.normal { - background-color: @selected; - text-color: @text-selected; -} -element selected.urgent { - background-color: @urgent; - text-color: @text-selected; -} -element selected.active { - background-color: @urgent; - text-color: @text-selected; -} -// Adapt rofi theme -element alternate.normal { - background-color: transparent; - text-color: inherit; -} -element alternate.urgent { - background-color: transparent; - text-color: inherit; -} -element alternate.active { - background-color: transparent; - text-color: inherit; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 36px; - cursor: inherit; -} element-text { - background-color: transparent; - font: "Fira Code SemiBold 14"; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - -} - -/* ---- Message ---- */ -message { - background-color: transparent; - border: 0px; -} -textbox { - padding: 12px; - border-radius: 10px; - background-color: @background-alt; - text-color: @background; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 20px; - background-color: @background-alt; - text-color: @background; + font: "Fira Code SemiBold 14"; } diff --git a/config/rofi/master-config.rasi b/config/rofi/master-config.rasi new file mode 100644 index 00000000..5b7f5add --- /dev/null +++ b/config/rofi/master-config.rasi @@ -0,0 +1,235 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Master Config */ + +/* ---- Configuration ---- */ + +configuration { + modi: "drun,run,filebrowser"; + font: "Fira Code SemiBold 13"; + show-icons: true; + display-drun: "Apps"; + display-run: "Run"; + display-filebrowser: "Files"; + display-window: "Windows"; + drun-display-format: "{name}"; + hover-select: true; + me-select-entry: "MouseSecondary"; + me-accept-entry: "MousePrimary"; + window-format: "{w} ยท {c} ยท {t}"; + dpi: 1; +} + +/* ---- Load wallust colors ---- */ +@theme "~/.config/rofi/wallust/colors-rofi.rasi" + +/* ---- Global Properties ---- */ +* { + + background-alt: @selected-active-background; // Buttons backgroundr + selected: @selected-urgent-background; // Button selected + active: @selected-normal-background; // Window activated + urgent: @selected; // When hovering the activated window (maybe more?) + + text-selected: @background; + text-color: @foreground; + border-color: @selected; +} + +/* ---- Window ---- */ +window { + // Default + enabled: true; + fullscreen: false; + transparency: "real"; + cursor: "default"; + spacing: 0px; + border: 2px; + border-radius: 30px; + location: center; + anchor: center; + + // Style Values + width: 50%; + background-color: @background; +} + +/* ----- Main Box ----- */ +mainbox { + padding: 15px; + enabled: true; + orientation: vertical; + children: [ "inputbar", "listbox" ]; + background-color: transparent; +} + + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + padding: 10px 10px 200px 10px; + margin: 10px; + background-color: transparent; + border-radius: 25px; + orientation: horizontal; + children: ["entry", "dummy", "mode-switcher" ]; + background-image: url("~/.config/rofi/.current_wallpaper", width); +} + +/* ---- Entry input ---- */ +entry { + enabled: true; + expand: false; + width: 20%; + padding: 10px; + border-radius: 12px; + background-color: @selected; + text-color: @text-selected; + cursor: text; + placeholder: "๐Ÿ–ฅ๏ธ Search "; // << Search symbol + placeholder-color: inherit; +} + +/* ---- Listbox ---- */ +listbox { + spacing: 10px; + padding: 10px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 2; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: false; + fixed-columns: true; + spacing: 10px; + background-color: transparent; + +// Adapt rofi theme + border: 0px; +} + +/* ---- Dummy ---- */ +dummy { + expand: true; + background-color: transparent; +} + +/* ---- Mode Switcher ---- */ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; +} +button { + width: 5%; + padding: 12px; + border-radius: 12px; + background-color: @text-selected; + text-color: @text-color; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @text-selected; +} + +/* ---- Scrollbar ---- */ +scrollbar { + width: 4px ; + border: 0; + handle-color: @border-color; + handle-width: 8px ; + padding: 0; +} + +/* ---- Elements ---- */ +element { + enabled: true; + spacing: 10px; + padding: 10px; + border-radius: 12px; + background-color: transparent; + cursor: pointer; +} + +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} + +element selected.normal { + background-color: @selected; + text-color: @text-selected; +} +element selected.urgent { + background-color: @urgent; + text-color: @text-selected; +} +element selected.active { + background-color: @urgent; + text-color: @text-selected; +} +// Adapt rofi theme +element alternate.normal { + background-color: transparent; + text-color: inherit; +} +element alternate.urgent { + background-color: transparent; + text-color: inherit; +} +element alternate.active { + background-color: transparent; + text-color: inherit; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 36px; + cursor: inherit; +} +element-text { + background-color: transparent; + font: "Fira Code SemiBold 16"; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/* ---- Message ---- */ +message { + background-color: transparent; + border: 0px; +} +textbox { + padding: 12px; + border-radius: 10px; + background-color: @background-alt; + text-color: @background; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: @background-alt; + text-color: @background; +} diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 2042f9c5..9b699fe4 100755 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -1,236 +1,12 @@ /* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ /* Main Config 1080p */ -/* ---- Configuration ---- */ +@import "~/.config/rofi/master-config.rasi" +/* ---- Configuration ---- */ configuration { - modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 12"; - show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; - drun-display-format: "{name}"; - hover-select: true; - me-select-entry: "MouseSecondary"; - me-accept-entry: "MousePrimary"; - window-format: "{w} ยท {c} ยท {t}"; - dpi: 1; -} - -/* ---- Load wallust colors ---- */ -@theme "~/.config/rofi/wallust/colors-rofi.rasi" - -/* ---- Global Properties ---- */ -* { - - background-alt: @selected-active-background; // Buttons backgroundr - selected: @selected-urgent-background; // Button selected - active: @selected-normal-background; // Window activated - urgent: @selected; // When hovering the activated window (maybe more?) - - text-selected: @background; - text-color: @foreground; - border-color: @selected; -} - -/* ---- Window ---- */ -window { - // Default - enabled: true; - fullscreen: false; - transparency: "real"; - cursor: "default"; - spacing: 0px; - border: 2px; - border-radius: 30px; - location: center; - anchor: center; - - // Style Values - width: 50%; - background-color: @background; -} - -/* ----- Main Box ----- */ -mainbox { - padding: 15px; - enabled: true; - orientation: vertical; - children: [ "inputbar", "listbox" ]; - background-color: transparent; + font: "Fira Code SemiBold 12"; } -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - padding: 10px 10px 200px 10px; - margin: 10px; - background-color: transparent; - border-radius: 25px; - orientation: horizontal; - children: ["entry", "dummy", "mode-switcher" ]; - background-image: url("~/.config/rofi/.current_wallpaper", width); -} - -/* ---- Entry input ---- */ -entry { - enabled: true; - expand: false; - width: 20%; - padding: 10px; - border-radius: 12px; - background-color: @selected; - text-color: @text-selected; - cursor: text; - placeholder: "๐Ÿ–ฅ๏ธ Search "; // << Search symbol - placeholder-color: inherit; -} - -/* ---- Listbox ---- */ -listbox { - spacing: 10px; - padding: 10px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} - -/* ---- Listview ---- */ -listview { - enabled: true; - columns: 2; - lines: 6; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: false; - fixed-columns: true; - spacing: 10px; - background-color: transparent; -// Adapt rofi theme - border: 0px; -} - -/* ---- Dummy ---- */ -dummy { - expand: true; - background-color: transparent; -} - -/* ---- Mode Switcher ---- */ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; -} -button { - width: 5%; - padding: 12px; - border-radius: 12px; - background-color: @text-selected; - text-color: @text-color; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @text-selected; -} - -/* ---- Scrollbar ---- */ -scrollbar { - width: 4px ; - border: 0; - handle-color: @border-color; - handle-width: 8px ; - padding: 0; -} - -/* ---- Elements ---- */ -element { - enabled: true; - spacing: 10px; - padding: 10px; - border-radius: 12px; - background-color: transparent; - cursor: pointer; -} - -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} - -element selected.normal { - background-color: @selected; - text-color: @text-selected; -} -element selected.urgent { - background-color: @urgent; - text-color: @text-selected; -} -element selected.active { - background-color: @urgent; - text-color: @text-selected; -} -// Adapt rofi theme -element alternate.normal { - background-color: transparent; - text-color: inherit; -} -element alternate.urgent { - background-color: transparent; - text-color: inherit; -} -element alternate.active { - background-color: transparent; - text-color: inherit; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 36px; - cursor: inherit; -} -element-text { - background-color: transparent; - font: "Fira Code SemiBold 14"; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - -} - -/* ---- Message ---- */ -message { - background-color: transparent; - border: 0px; -} -textbox { - padding: 12px; - border-radius: 10px; - background-color: @background-alt; - text-color: @background; - vertical-align: 0.5; - horizontal-align: 0.0; -} -error-message { - padding: 12px; - border-radius: 20px; - background-color: @background-alt; - text-color: @background; -} diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index 3f7a2dc6..f95e31a0 100755 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -3,233 +3,34 @@ /* ---- Configuration ---- */ -configuration { - modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 13"; - show-icons: true; - display-drun: "Apps"; - display-run: "Run"; - display-filebrowser: "Files"; - display-window: "Windows"; - drun-display-format: "{name}"; - hover-select: true; - me-select-entry: "MouseSecondary"; - me-accept-entry: "MousePrimary"; - window-format: "{w} ยท {c} ยท {t}"; - dpi: 1; -} - -/* ---- Load pywal colors ---- */ -@theme "~/.config/rofi/wallust/colors-rofi.rasi" - -/* ---- Global Properties ---- */ -* { - - background-alt: @selected-active-background; // Buttons backgroundr - selected: @selected-urgent-background; // Button selected - active: @selected-normal-background; // Window activated - urgent: @selected; // When hovering the activated window (maybe more?) +@import "~/.config/rofi/master-config.rasi" - text-selected: @background; - text-color: @foreground; - border-color: @selected; +configuration { + font: "Fira Code SemiBold 13"; } - /* ---- Window ---- */ window { - // Default - enabled: true; - fullscreen: false; - transparency: "real"; - cursor: "default"; - spacing: 0px; - border: 2px; - border-radius: 30px; - location: center; - anchor: center; - - // Style Values - width: 40%; - background-color: @background; -} - -/* ----- Main Box ----- */ -mainbox { - padding: 15px; - enabled: true; - orientation: vertical; - children: [ "inputbar", "listbox" ]; - background-color: transparent; -} - - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - padding: 10px 10px 200px 10px; - margin: 10px; - background-color: transparent; - border-radius: 25px; - orientation: horizontal; - children: ["entry", "dummy", "mode-switcher" ]; - background-image: url("~/.config/rofi/.current_wallpaper", width); + width: 40%; } /* ---- Entry input ---- */ entry { - enabled: true; - expand: false; - width: 18%; - padding: 10px; - border-radius: 12px; - background-color: @selected; - text-color: @text-selected; - cursor: text; - placeholder: "๐Ÿ–ฅ๏ธ Search "; // << Search symbol - placeholder-color: inherit; + width: 18%; } -/* ---- Listbox ---- */ -listbox { - spacing: 10px; - padding: 10px; - background-color: transparent; - orientation: vertical; - children: [ "message", "listview" ]; -} + /* ---- Listview ---- */ listview { - enabled: true; - columns: 2; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: false; - fixed-columns: true; - spacing: 10px; - background-color: transparent; - -// Adapt rofi theme - border: 0px; -} - -/* ---- Dummy ---- */ -dummy { - expand: true; - background-color: transparent; + lines: 8; } /* ---- Mode Switcher ---- */ -mode-switcher{ - enabled: true; - spacing: 10px; - background-color: transparent; -} button { - width: 110px; - padding: 12px; - border-radius: 12px; - background-color: @text-selected; - text-color: @text-color; - cursor: pointer; -} -button selected { - background-color: @selected; - text-color: @text-selected; + width: 110px; } -/* ---- Scrollbar ---- */ -scrollbar { - width: 4px ; - border: 0; - handle-color: @border-color; - handle-width: 8px ; - padding: 0; -} - -/* ---- Elements ---- */ -element { - enabled: true; - spacing: 10px; - padding: 10px; - border-radius: 12px; - background-color: transparent; - cursor: pointer; -} - -element normal.normal { - background-color: inherit; - text-color: inherit; -} -element normal.urgent { - background-color: @urgent; - text-color: @foreground; -} -element normal.active { - background-color: @active; - text-color: @foreground; -} - -element selected.normal { - background-color: @selected; - text-color: @text-selected; -} -element selected.urgent { - background-color: @urgent; - text-color: @text-selected; -} -element selected.active { - background-color: @urgent; - text-color: @text-selected; -} -// Adapt rofi theme -element alternate.normal { - background-color: transparent; - text-color: inherit; -} -element alternate.urgent { - background-color: transparent; - text-color: inherit; -} -element alternate.active { - background-color: transparent; - text-color: inherit; -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 36px; - cursor: inherit; -} element-text { - background-color: transparent; - font: "Fira Code SemiBold 16"; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - + font: "Fira Code SemiBold 16"; } -/* ---- Message ---- */ -message { - background-color: transparent; - border: 0px; -} -textbox { - padding: 12px; - border-radius: 10px; - background-color: @background-alt; - text-color: @background; - vertical-align: 0.5; -} -error-message { - padding: 12px; - border-radius: 20px; - background-color: @background-alt; - text-color: @background; -} -- cgit v1.2.3 From 364491709366b195d9fb2ce0ca3bae6e182dbabf Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 18 May 2024 18:26:30 +0900 Subject: some tidying up Rofi Configs --- config/rofi/.current_wallpaper | 2 +- config/rofi/config-clipboard.rasi | 10 ++++++-- config/rofi/config-emoji.rasi | 10 ++++++-- config/rofi/config-long.rasi | 21 ---------------- config/rofi/config-long.rasi -1 | 5 ++++ config/rofi/config-rofi-Beats.rasi | 1 - config/rofi/config-waybar-style.rasi | 1 - config/rofi/config-zsh-theme.rasi | 3 +-- config/rofi/config.rasi | 3 ++- config/rofi/master-config.rasi | 6 ++--- config/rofi/resolution/1080p/config.rasi | 4 ++- config/rofi/resolution/1440p/config.rasi | 5 +--- config/rofi/wallust/colors-rofi.rasi | 42 ++++++++++++++++---------------- 13 files changed, 52 insertions(+), 61 deletions(-) delete mode 100644 config/rofi/config-long.rasi create mode 100644 config/rofi/config-long.rasi -1 (limited to 'config/rofi') diff --git a/config/rofi/.current_wallpaper b/config/rofi/.current_wallpaper index f2470dcf..6d4a09c3 120000 --- a/config/rofi/.current_wallpaper +++ b/config/rofi/.current_wallpaper @@ -1 +1 @@ -/home/ja/Pictures/wallpapers/Fantasy-Waterfall.png \ No newline at end of file +/home/ja/Pictures/wallpapers/Scifi-Room.png \ No newline at end of file diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index 9573262e..34b471cb 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -1,10 +1,16 @@ /* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Clipboard Config (long) - Clipboard */ +/* Clipboard Config - Clipboard */ -@import "~/.config/rofi/config-long.rasi" +@import "~/.config/rofi/config.rasi" /* ---- Entry ---- */ entry { width: 45%; placeholder: "๐Ÿ“‹ Search Clipboard **note** ๐Ÿ‘€ CTRL Del - Cliphist del or Alt Del - cliphist wipe"; } + +/* ---- Listview ---- */ +listview { + columns: 1; + lines: 8; +} \ No newline at end of file diff --git a/config/rofi/config-emoji.rasi b/config/rofi/config-emoji.rasi index 3f0be0e4..028bc9d4 100644 --- a/config/rofi/config-emoji.rasi +++ b/config/rofi/config-emoji.rasi @@ -1,10 +1,16 @@ /* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config (long) - emoji */ +/* Main Config - emoji */ -@import "~/.config/rofi/config-long.rasi" +@import "~/.config/rofi/config.rasi" /* ---- Entry ---- */ entry { width: 45%; placeholder: "๐Ÿ’ซ Search Emoji's **note** ๐Ÿ‘€ Click or Return to choose | Ctrl V to Paste"; } + +/* ---- Listview ---- */ +listview { + columns: 1; + lines: 8; +} \ No newline at end of file diff --git a/config/rofi/config-long.rasi b/config/rofi/config-long.rasi deleted file mode 100644 index 2341e5f6..00000000 --- a/config/rofi/config-long.rasi +++ /dev/null @@ -1,21 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config (long) */ - -@import "~/.config/rofi/config.rasi" - -/* ---- Window ---- */ -window { - width: 50%; -} - -/* ---- Entry ---- */ -entry { - placeholder: "๐Ÿ”Ž Search "; -} - -/* ---- Listview ---- */ -listview { - columns: 1; - lines: 8; - scrollbar: true; -} \ No newline at end of file diff --git a/config/rofi/config-long.rasi -1 b/config/rofi/config-long.rasi -1 new file mode 100644 index 00000000..159a7eaf --- /dev/null +++ b/config/rofi/config-long.rasi -1 @@ -0,0 +1,5 @@ +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config (long) */ + +@import "~/.config/rofi/config.rasi" + diff --git a/config/rofi/config-rofi-Beats.rasi b/config/rofi/config-rofi-Beats.rasi index a45006c8..2bf99e2b 100644 --- a/config/rofi/config-rofi-Beats.rasi +++ b/config/rofi/config-rofi-Beats.rasi @@ -11,5 +11,4 @@ entry { /* ---- Listview ---- */ listview { lines: 6; - scrollbar: true; } diff --git a/config/rofi/config-waybar-style.rasi b/config/rofi/config-waybar-style.rasi index 9dc8b74c..3be6c9e9 100644 --- a/config/rofi/config-waybar-style.rasi +++ b/config/rofi/config-waybar-style.rasi @@ -23,5 +23,4 @@ entry { listview { columns: 2; lines: 6; - scrollbar: true; } diff --git a/config/rofi/config-zsh-theme.rasi b/config/rofi/config-zsh-theme.rasi index ffa8bd14..2684d109 100644 --- a/config/rofi/config-zsh-theme.rasi +++ b/config/rofi/config-zsh-theme.rasi @@ -39,9 +39,8 @@ entry { /* ---- Listview ---- */ listview { columns: 3; - lines: 4; + lines: 3; spacing: 4px; - scrollbar: false; border-radius: 10px; } diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 88db7ba9..59576860 100755 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -9,5 +9,6 @@ configuration { } element-text { - font: "Fira Code SemiBold 14"; + font: "Fira Code SemiBold 14"; } + diff --git a/config/rofi/master-config.rasi b/config/rofi/master-config.rasi index 5b7f5add..4ffa7ac8 100644 --- a/config/rofi/master-config.rasi +++ b/config/rofi/master-config.rasi @@ -5,7 +5,6 @@ configuration { modi: "drun,run,filebrowser"; - font: "Fira Code SemiBold 13"; show-icons: true; display-drun: "Apps"; display-run: "Run"; @@ -25,7 +24,7 @@ configuration { /* ---- Global Properties ---- */ * { - background-alt: @selected-active-background; // Buttons backgroundr + background-alt: @selected-active-background; // Buttons background selected: @selected-urgent-background; // Button selected active: @selected-normal-background; // Window activated urgent: @selected; // When hovering the activated window (maybe more?) @@ -105,7 +104,7 @@ listview { lines: 6; cycle: true; dynamic: true; - scrollbar: false; + scrollbar: true; layout: vertical; reverse: false; fixed-height: false; @@ -207,7 +206,6 @@ element-icon { } element-text { background-color: transparent; - font: "Fira Code SemiBold 16"; text-color: inherit; cursor: inherit; vertical-align: 0.5; diff --git a/config/rofi/resolution/1080p/config.rasi b/config/rofi/resolution/1080p/config.rasi index 9b699fe4..59576860 100755 --- a/config/rofi/resolution/1080p/config.rasi +++ b/config/rofi/resolution/1080p/config.rasi @@ -8,5 +8,7 @@ configuration { font: "Fira Code SemiBold 12"; } - +element-text { + font: "Fira Code SemiBold 14"; +} diff --git a/config/rofi/resolution/1440p/config.rasi b/config/rofi/resolution/1440p/config.rasi index f95e31a0..b72c1001 100755 --- a/config/rofi/resolution/1440p/config.rasi +++ b/config/rofi/resolution/1440p/config.rasi @@ -1,10 +1,9 @@ /* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ /* Main Config 1440p */ -/* ---- Configuration ---- */ - @import "~/.config/rofi/master-config.rasi" +/* ---- Configuration ---- */ configuration { font: "Fira Code SemiBold 13"; } @@ -18,8 +17,6 @@ entry { width: 18%; } - - /* ---- Listview ---- */ listview { lines: 8; diff --git a/config/rofi/wallust/colors-rofi.rasi b/config/rofi/wallust/colors-rofi.rasi index 15a0b742..d1361a1e 100644 --- a/config/rofi/wallust/colors-rofi.rasi +++ b/config/rofi/wallust/colors-rofi.rasi @@ -1,28 +1,28 @@ * { -active-background: #A38A46; -active-foreground: #D1F8FD; -normal-background: #060402; -normal-foreground: #D1F8FD; -urgent-background: #CCBA98; -urgent-foreground: #D1F8FD; +active-background: #112D69; +active-foreground: #C8DFF1; +normal-background: #030915; +normal-foreground: #C8DFF1; +urgent-background: #386CB1; +urgent-foreground: #C8DFF1; -alternate-active-background: #94A7B8; -alternate-active-foreground: #D1F8FD; -alternate-normal-background: #060402; -alternate-normal-foreground: #D1F8FD; -alternate-urgent-background: #060402; -alternate-urgent-foreground: #D1F8FD; +alternate-active-background: #77659C; +alternate-active-foreground: #C8DFF1; +alternate-normal-background: #030915; +alternate-normal-foreground: #C8DFF1; +alternate-urgent-background: #030915; +alternate-urgent-foreground: #C8DFF1; -selected-active-background: #A38A46; -selected-active-foreground: #D1F8FD; -selected-normal-background: #B5EDF4; -selected-normal-foreground: #D1F8FD; -selected-urgent-background: #CCBA98; -selected-urgent-foreground: #D1F8FD; +selected-active-background: #112D69; +selected-active-foreground: #C8DFF1; +selected-normal-background: #A9C9E3; +selected-normal-foreground: #C8DFF1; +selected-urgent-background: #386CB1; +selected-urgent-foreground: #C8DFF1; -background-color: #060402; +background-color: #030915; background: rgba(0,0,0,0.7); -foreground: #B5EDF4; -border-color: #A38A46; +foreground: #A9C9E3; +border-color: #112D69; } -- cgit v1.2.3 From 5304d9195c9d199045d6b5ee3fc58882b4d7a82d Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 19 May 2024 22:12:19 +0900 Subject: remove rofi-long as not needed --- config/rofi/config-long.rasi -1 | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 config/rofi/config-long.rasi -1 (limited to 'config/rofi') diff --git a/config/rofi/config-long.rasi -1 b/config/rofi/config-long.rasi -1 deleted file mode 100644 index 159a7eaf..00000000 --- a/config/rofi/config-long.rasi -1 +++ /dev/null @@ -1,5 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config (long) */ - -@import "~/.config/rofi/config.rasi" - -- cgit v1.2.3 From 56fc332acc557bb09eae5fd317170146281fe9d9 Mon Sep 17 00:00:00 2001 From: Daniel <48409433+darkeddie@users.noreply.github.com> Date: Mon, 20 May 2024 02:31:19 +0000 Subject: Support Shuffle in RofiBeats --- config/rofi/config-rofi-Beats-menu.rasi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/rofi') diff --git a/config/rofi/config-rofi-Beats-menu.rasi b/config/rofi/config-rofi-Beats-menu.rasi index 6cdd6e99..fd2e194e 100644 --- a/config/rofi/config-rofi-Beats-menu.rasi +++ b/config/rofi/config-rofi-Beats-menu.rasi @@ -18,5 +18,5 @@ window { listview { fixed-columns: false; colums: 1; - lines: 2; -} \ No newline at end of file + lines: 3; +} -- cgit v1.2.3 From a5d4d4ee9550b820c8106881c69d85a73eaf5493 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 22 May 2024 10:55:21 +0900 Subject: reduced padding rofi on master config added a space on weather.py waybar data for better output --- config/hypr/UserScripts/Weather.py | 2 +- config/rofi/master-config.rasi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config/rofi') diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py index 39f823af..1d2ea30b 100755 --- a/config/hypr/UserScripts/Weather.py +++ b/config/hypr/UserScripts/Weather.py @@ -116,7 +116,7 @@ tooltip_text = str.format( # print waybar module data out_data = { - "text": f"{icon} {temp}", + "text": f"{icon} {temp}", "alt": status, "tooltip": tooltip_text, "class": status_code, diff --git a/config/rofi/master-config.rasi b/config/rofi/master-config.rasi index 4ffa7ac8..fe24cd61 100644 --- a/config/rofi/master-config.rasi +++ b/config/rofi/master-config.rasi @@ -65,7 +65,7 @@ mainbox { /* ---- Inputbar ---- */ inputbar { enabled: true; - padding: 10px 10px 200px 10px; + padding: 10px 10px 100px 10px; margin: 10px; background-color: transparent; border-radius: 25px; -- cgit v1.2.3 From 0054b0b766d62112c4b096b61f8777a402bff08a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 22 May 2024 15:31:03 +0900 Subject: small rofi configs tweak --- config/rofi/config-clipboard.rasi | 2 +- config/rofi/config-emoji.rasi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config/rofi') diff --git a/config/rofi/config-clipboard.rasi b/config/rofi/config-clipboard.rasi index 34b471cb..2a002a29 100644 --- a/config/rofi/config-clipboard.rasi +++ b/config/rofi/config-clipboard.rasi @@ -5,7 +5,7 @@ /* ---- Entry ---- */ entry { - width: 45%; + width: 37%; placeholder: "๐Ÿ“‹ Search Clipboard **note** ๐Ÿ‘€ CTRL Del - Cliphist del or Alt Del - cliphist wipe"; } diff --git a/config/rofi/config-emoji.rasi b/config/rofi/config-emoji.rasi index 028bc9d4..8aca6aa2 100644 --- a/config/rofi/config-emoji.rasi +++ b/config/rofi/config-emoji.rasi @@ -5,7 +5,7 @@ /* ---- Entry ---- */ entry { - width: 45%; + width: 37%; placeholder: "๐Ÿ’ซ Search Emoji's **note** ๐Ÿ‘€ Click or Return to choose | Ctrl V to Paste"; } -- cgit v1.2.3 From 40fb30c13b3e0e80174066b7ccf2dd88fe2a9666 Mon Sep 17 00:00:00 2001 From: JosephArmas Date: Wed, 22 May 2024 13:41:48 -0700 Subject: feat: Add rofi calculator using qalc command. Result of expression is automatically saved to clipboard. Default keybinding set to mod + alt + c. --- config/hypr/configs/Keybinds.conf | 1 + config/hypr/scripts/RofiCalc.sh | 21 +++++++++++++++++++++ config/rofi/config-calc.rasi | 7 +++++++ 3 files changed, 29 insertions(+) create mode 100755 config/hypr/scripts/RofiCalc.sh create mode 100644 config/rofi/config-calc.rasi (limited to 'config/rofi') diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 142de86a..bd6e0a9f 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -23,6 +23,7 @@ bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # Small help file bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji +bind = $mainMod ALT, C, exec, $scriptsDir/RofiEmoji.sh # calculator bind = $mainMod, S, exec, $scriptsDir/RofiSearch.sh # Google search from Rofi bind = $mainMod SHIFT, B, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # animations ON/OFF diff --git a/config/hypr/scripts/RofiCalc.sh b/config/hypr/scripts/RofiCalc.sh new file mode 100755 index 00000000..3589525f --- /dev/null +++ b/config/hypr/scripts/RofiCalc.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +rofi_config="$HOME/.config/rofi/config-calc.rasi" + + +while true; do + result=$( + rofi -i -dmenu \ + -config "$rofi_config" \ + -mesg "$result = $calc_result" + ) + + if [ $? -ne 0 ]; then + exit + fi + + if [ -n "$result" ]; then + calc_result=$(qalc -t "$result") + echo "$calc_result" | wl-copy + fi +done diff --git a/config/rofi/config-calc.rasi b/config/rofi/config-calc.rasi new file mode 100644 index 00000000..4c7cad2e --- /dev/null +++ b/config/rofi/config-calc.rasi @@ -0,0 +1,7 @@ +@import "~/.config/rofi/config-long.rasi" + +/* ---- Entry ---- */ +entry { + width: 45%; + placeholder: "๐Ÿงฎ Calculate"; +} -- cgit v1.2.3 From da68e757550990968f5d5f4b5cfcca74d7997e4e Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Thu, 23 May 2024 12:12:23 +0900 Subject: Update config-calc.rasi --- config/rofi/config-calc.rasi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'config/rofi') diff --git a/config/rofi/config-calc.rasi b/config/rofi/config-calc.rasi index 4c7cad2e..5924a11d 100644 --- a/config/rofi/config-calc.rasi +++ b/config/rofi/config-calc.rasi @@ -1,7 +1,16 @@ -@import "~/.config/rofi/config-long.rasi" +/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ +/* Main Config Calculator */ +/* Submitted by: https://github.com/JosephArmas */ + +@import "~/.config/rofi/config.rasi" /* ---- Entry ---- */ entry { - width: 45%; + width: 27%; placeholder: "๐Ÿงฎ Calculate"; } + +/* ---- Window ---- */ +window { + width: 30%; +} -- cgit v1.2.3 From 9e27cb3330ba7d6c284031370200784fa064ca20 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 12:39:01 +0900 Subject: tweaked rofi-calc config to have better coloring --- config/rofi/config-calc.rasi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/rofi') diff --git a/config/rofi/config-calc.rasi b/config/rofi/config-calc.rasi index 5924a11d..bcb0f665 100644 --- a/config/rofi/config-calc.rasi +++ b/config/rofi/config-calc.rasi @@ -14,3 +14,9 @@ entry { window { width: 30%; } + +/* ---- Message ---- */ +textbox { + background-color: @selected; + text-color: @background; +} \ No newline at end of file -- cgit v1.2.3