From d03146f3a120e4db03a0999f122a56a9391d8c73 Mon Sep 17 00:00:00 2001 From: Michel Fedde Date: Thu, 2 Oct 2025 14:07:00 +0200 Subject: [PATCH] Adds rofi styling --- .config/hypr/config/Keybinds.conf | 11 +- .config/hypr/config/LayerRules.conf | 3 + .config/rofi/config-calc.rasi | 22 -- .config/rofi/config-clipboard.rasi | 16 -- .config/rofi/config-compact.rasi | 43 ---- .config/rofi/config-emoji.rasi | 16 -- .config/rofi/config-keybinds.rasi | 20 -- .config/rofi/config-rofi-Beats-menu.rasi | 22 -- .config/rofi/config-rofi-Beats.rasi | 14 -- .config/rofi/config-search.rasi | 28 --- .config/rofi/config-wallpaper-effect.rasi | 26 -- .config/rofi/config-wallpaper.rasi | 51 ---- .config/rofi/config-waybar-layout.rasi | 10 - .config/rofi/config-waybar-style.rasi | 21 -- .config/rofi/config-zsh-theme.rasi | 59 ----- .config/rofi/config.rasi | 139 ++++++++-- .config/rofi/master-config.rasi | 237 ------------------ .config/rofi/resolution/1080p/config.rasi | 31 --- .../rofi/resolution/1080p/master-config.rasi | 237 ------------------ .config/rofi/resolution/1440p/config.rasi | 37 --- .../rofi/resolution/1440p/master-config.rasi | 237 ------------------ .config/rofi/wallust/colors-rofi.rasi | 31 --- .config/theming/applications/rofi/style.scss | 81 ++++++ .config/theming/compile.sh | 3 +- .../applications/11-DesktopEnv.sh | 2 +- 25 files changed, 206 insertions(+), 1191 deletions(-) delete mode 100644 .config/rofi/config-calc.rasi delete mode 100644 .config/rofi/config-clipboard.rasi delete mode 100644 .config/rofi/config-compact.rasi delete mode 100644 .config/rofi/config-emoji.rasi delete mode 100644 .config/rofi/config-keybinds.rasi delete mode 100644 .config/rofi/config-rofi-Beats-menu.rasi delete mode 100644 .config/rofi/config-rofi-Beats.rasi delete mode 100644 .config/rofi/config-search.rasi delete mode 100644 .config/rofi/config-wallpaper-effect.rasi delete mode 100644 .config/rofi/config-wallpaper.rasi delete mode 100644 .config/rofi/config-waybar-layout.rasi delete mode 100644 .config/rofi/config-waybar-style.rasi delete mode 100644 .config/rofi/config-zsh-theme.rasi mode change 100755 => 100644 .config/rofi/config.rasi delete mode 100644 .config/rofi/master-config.rasi delete mode 100755 .config/rofi/resolution/1080p/config.rasi delete mode 100644 .config/rofi/resolution/1080p/master-config.rasi delete mode 100755 .config/rofi/resolution/1440p/config.rasi delete mode 100644 .config/rofi/resolution/1440p/master-config.rasi delete mode 100644 .config/rofi/wallust/colors-rofi.rasi create mode 100644 .config/theming/applications/rofi/style.scss diff --git a/.config/hypr/config/Keybinds.conf b/.config/hypr/config/Keybinds.conf index c04def7..8cfc16e 100644 --- a/.config/hypr/config/Keybinds.conf +++ b/.config/hypr/config/Keybinds.conf @@ -6,7 +6,7 @@ $configs = $HOME/.config/hypr/configs $files = hyprdrop ghostty --identifier yazi_hyprdrop --args="yazi" --env="PWD=~/" $term = ghostty -$appLauncher = anyrun +$appLauncher = rofi -show drun -show-icons bind = $mainMod, Q, killactive, @@ -89,7 +89,6 @@ bind = , F12, exec, $scriptsDir/screenshot.sh active # screenshot (active window bind = $mainMod SHIFT, N, exec, $scriptsDir/anyrun/Toolkit.sh # swayNC notification panel - bind = , F13, movecurrentworkspacetomonitor, +1 bind = $mainMod SHIFT, H, movecurrentworkspacetomonitor, +1 @@ -97,16 +96,16 @@ bind = $mainMod, F, fullscreen, 1 bind = $mainMod, Space, fullscreen, 0 # rofi App launcher -bind = $mainMod, Tab, exec, nwg-drawer -pbexit "wayland-logout" -pbpoweroff "systemctl poweroff" -pbreboot "systemctl reboot" -#bind = $mainMod, Tab, exec, $appLauncher -bind = ALT, Tab, exec, $scriptsDir/anyrun/Windows.sh +#bind = $mainMod, Tab, exec, nwg-drawer -pbexit "wayland-logout" -pbpoweroff "systemctl poweroff" -pbreboot "systemctl reboot" +bind = $mainMod, Tab, exec, $appLauncher +bind = ALT, Tab, exec, rofi -show window -show-icons bind = $mainMod, Return, exec, $term bind = $mainMod Shift, Return, exec, hyprdrop ghostty --identifier term_hyprdrop bind = $mainMod, Z, exec, $files bind = $mainMod, R, focusurgentorlast -bind = $mainMod SHIFT, P, exec, $scriptsDir/anyrun/Auth.sh +bind = $mainMod SHIFT, P, exec, rofi -modes "2fa" -show 2fa bind = $mainMod, O, exec, killall -USR1 waybar diff --git a/.config/hypr/config/LayerRules.conf b/.config/hypr/config/LayerRules.conf index 25c7824..314de83 100644 --- a/.config/hypr/config/LayerRules.conf +++ b/.config/hypr/config/LayerRules.conf @@ -7,6 +7,9 @@ layerrule = ignorezero, waybar layerrule = blur, anyrun layerrule = ignorezero, anyrun +layerrule = blur, rofi +layerrule = ignorezero, rofi + layerrule = blur, swaync-notification-window layerrule = ignorezero, swaync-notification-window diff --git a/.config/rofi/config-calc.rasi b/.config/rofi/config-calc.rasi deleted file mode 100644 index 9f663e8..0000000 --- a/.config/rofi/config-calc.rasi +++ /dev/null @@ -1,22 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config Calculator */ -/* Submitted by: https://github.com/JosephArmas */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Entry ---- */ -entry { - width: 27%; - placeholder: "๐Ÿงฎ Calculate"; -} - -/* ---- Window ---- */ -window { - width: 30%; -} - -/* ---- Message ---- */ -textbox { - background-color: @selected; - text-color: @background; -} \ No newline at end of file diff --git a/.config/rofi/config-clipboard.rasi b/.config/rofi/config-clipboard.rasi deleted file mode 100644 index 81362d2..0000000 --- a/.config/rofi/config-clipboard.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Clipboard Config - Clipboard */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Entry ---- */ -entry { - width: 37%; - 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-compact.rasi b/.config/rofi/config-compact.rasi deleted file mode 100644 index 020bc95..0000000 --- a/.config/rofi/config-compact.rasi +++ /dev/null @@ -1,43 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config (compact) */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Configuration ---- */ -configuration { - modi: "drun"; -} - -/* ---- Window ---- */ -window { - width: 50%; - border-radius: 15px; -} - -/* ---- Inputbar ---- */ -inputbar { - background-image: url("~/.config/rofi/.current_wallpaper", width); -} - -/* ---- Imagebox ---- */ -imagebox { - orientation: vertical; - children: [ "entry", "listview"]; -} - -/* ---- Entry input ---- */ -entry { - width: 23%; - placeholder: "๐Ÿ‘€ View / Edit Hyprland Configs"; -} - -/* ---- Listview ---- */ -listview { - spacing: 4px; - border-radius: 12px; -} - -/* ---- Element ---- */ -element { - border-radius: 10px; -} diff --git a/.config/rofi/config-emoji.rasi b/.config/rofi/config-emoji.rasi deleted file mode 100644 index 0fe6e70..0000000 --- a/.config/rofi/config-emoji.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config - emoji */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Entry ---- */ -entry { - width: 37%; - 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-keybinds.rasi b/.config/rofi/config-keybinds.rasi deleted file mode 100644 index 206928c..0000000 --- a/.config/rofi/config-keybinds.rasi +++ /dev/null @@ -1,20 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config - For Keybinds generation */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Entry ---- */ -entry { - width: 85%; - placeholder: " ๐Ÿงฎ Search Keybinds โ˜ฃ๏ธ NOTE โ˜ฃ๏ธ: Clicking with Mouse or Pressing ENTER will have NO function"; -} - -/* ---- Listview ---- */ -listview { - columns: 2; - lines: 12; -} - -window { - width: 95%; -} \ No newline at end of file diff --git a/.config/rofi/config-rofi-Beats-menu.rasi b/.config/rofi/config-rofi-Beats-menu.rasi deleted file mode 100644 index 896b313..0000000 --- a/.config/rofi/config-rofi-Beats-menu.rasi +++ /dev/null @@ -1,22 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main config Rofi Beats Config (compact) */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Entry ---- */ -entry { - width: 20%; - placeholder: "๐Ÿ“ป Choose Music Source"; -} - -/* ---- Window ---- */ -window { - width: 24%; -} - -/* ---- Listview ---- */ -listview { - fixed-columns: false; - colums: 1; - lines: 3; -} diff --git a/.config/rofi/config-rofi-Beats.rasi b/.config/rofi/config-rofi-Beats.rasi deleted file mode 100644 index 354ff5b..0000000 --- a/.config/rofi/config-rofi-Beats.rasi +++ /dev/null @@ -1,14 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Rofi Beats Config (compact) */ - -@import "~/.config/rofi/config-compact.rasi" - -/* ---- Entry ---- */ -entry { - placeholder: "๐Ÿ“ป Choose Media or Stations to play"; -} - -/* ---- Listview ---- */ -listview { - lines: 7; -} diff --git a/.config/rofi/config-search.rasi b/.config/rofi/config-search.rasi deleted file mode 100644 index a1f5576..0000000 --- a/.config/rofi/config-search.rasi +++ /dev/null @@ -1,28 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Rofi Config for Google Search) */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Window ---- */ -window { - width: 40%; - y-offset: 6px; - location: north; -} - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; -} - -/* ---- Mainbox ---- */ -mainbox { - padding: 0px; - children: [ "entry"]; -} - -/* ---- Entry ---- */ -entry { - placeholder: "๐Ÿ”Ž Google Search"; -} - diff --git a/.config/rofi/config-wallpaper-effect.rasi b/.config/rofi/config-wallpaper-effect.rasi deleted file mode 100644 index c499f2a..0000000 --- a/.config/rofi/config-wallpaper-effect.rasi +++ /dev/null @@ -1,26 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Wallpaper Effects */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Entry ---- */ -entry { - width: 20%; - placeholder: "๐Ÿ™๏ธ Choose desired wallpaper effect"; -} - -/* ---- Window ---- */ -window { - width: 24%; -} - -/* ---- Listview ---- */ -listview { - fixed-columns: false; - lines: 8; -} - -/* ---- Inputbar ---- */ -inputbar { - background-image: url("~/.config/hypr/wallpaper_effects/.wallpaper_modified", width); -} \ No newline at end of file diff --git a/.config/rofi/config-wallpaper.rasi b/.config/rofi/config-wallpaper.rasi deleted file mode 100644 index 4f83c09..0000000 --- a/.config/rofi/config-wallpaper.rasi +++ /dev/null @@ -1,51 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config (wallpaper) */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Configuration ---- */ -configuration { - modi: "drun"; -} - -window { - width: 60%; -} - -/* ---- Imagebox ---- */ -imagebox { - orientation: vertical; - children: - [ "entry", "listbox"]; -} - - -entry { - expand: false; - placeholder: "๐ŸŽž๏ธ Choose Wallpaper"; -} - -/* ---- Listview ---- */ -listview { - columns: 5; - lines: 3; - flow: horizontal; -} - -/* ---- Element ---- */ -element { - orientation: vertical; - padding: 0px; - spacing: 0px; - border-radius: 12px; -} - -element-icon { - size: 15%; -} - -element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; - vertical-align: 0.5; - horizontal-align: 0.5; -} diff --git a/.config/rofi/config-waybar-layout.rasi b/.config/rofi/config-waybar-layout.rasi deleted file mode 100644 index 6720fcc..0000000 --- a/.config/rofi/config-waybar-layout.rasi +++ /dev/null @@ -1,10 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Layout Config (Waybar) */ - -@import "~/.config/rofi/config-waybar-style.rasi" - -/* ---- Entry ---- */ -entry { - placeholder: "๐Ÿ–ผ๏ธ Choose Waybar Layout"; -} - diff --git a/.config/rofi/config-waybar-style.rasi b/.config/rofi/config-waybar-style.rasi deleted file mode 100644 index ab150d0..0000000 --- a/.config/rofi/config-waybar-style.rasi +++ /dev/null @@ -1,21 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config (waybar) */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Configuration ---- */ -configuration { - modi: "drun"; -} - -/* ---- Mainbox ---- */ -mainbox { - children: - [ "inputbar", "listview"]; -} - -entry { - expand: true; - placeholder: "๐Ÿ–ผ๏ธ Choose Waybar Style"; -} - diff --git a/.config/rofi/config-zsh-theme.rasi b/.config/rofi/config-zsh-theme.rasi deleted file mode 100644 index a735a7e..0000000 --- a/.config/rofi/config-zsh-theme.rasi +++ /dev/null @@ -1,59 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config (compact) */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Configuration ---- */ -configuration { - modi: "drun"; -} - -/* ---- Window ---- */ -window { - width: 40%; - border-radius: 15px; -} - -/* ---- Imagebox ---- */ -imagebox { - orientation: vertical; - children: - [ "inputbar", "listbox"]; -} - -/* ---- Listbox ---- */ -listbox { - border-radius: 12px; -} - -/* ---- Inputbar ---- */ -inputbar { - padding: 14px; - border-radius: 10px; -} - -entry { - placeholder: "๓ฐธ‰ Choose ZSH theme"; -} - -/* ---- Listview ---- */ -listview { - columns: 3; - lines: 3; - spacing: 4px; - border-radius: 10px; -} - -/* ---- Element ---- */ -element { - border-radius: 10px; -} - -/* ---- Message ---- */ -message { - border-radius: 10px; -} - -textbox { - padding: 15px; -} diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi old mode 100755 new mode 100644 index eca05ea..e2b874e --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,31 +1,120 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config 1080p */ +configuration { + modes: "window,drun,calc,system"; +/* font: "mono 12";*/ +/* location: 0;*/ +/* yoffset: 0;*/ +/* xoffset: 0;*/ +/* fixed-num-lines: true;*/ +/* show-icons: false;*/ +/* preview-cmd: ;*/ +/* on-selection-changed: ;*/ +/* on-mode-changed: ;*/ +/* on-entry-accepted: ;*/ +/* on-menu-canceled: ;*/ +/* on-menu-error: ;*/ +/* on-screenshot-taken: ;*/ +/* terminal: "rofi-sensible-terminal";*/ +/* ssh-client: "ssh";*/ +/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/ +/* run-command: "{cmd}";*/ +/* run-list-command: "";*/ +/* run-shell-command: "{terminal} -e {cmd}";*/ +/* window-command: "wmctrl -i -R {window}";*/ +/* window-match-fields: "all";*/ +/* icon-theme: ;*/ +/* drun-match-fields: "name,generic,exec,categories,keywords";*/ +/* drun-categories: ;*/ +/* drun-exclude-categories: ;*/ +/* drun-show-actions: false;*/ +/* drun-display-format: "{name} [({generic})]";*/ +/* drun-url-launcher: "xdg-open";*/ +/* disable-history: false;*/ +/* ignored-prefixes: "";*/ +/* sort: false;*/ +/* sorting-method: "normal";*/ +/* case-sensitive: false;*/ +/* case-smart: false;*/ +/* cycle: true;*/ +/* sidebar-mode: false;*/ +/* hover-select: false;*/ +/* eh: 1;*/ +/* auto-select: false;*/ +/* parse-hosts: false;*/ +/* parse-known-hosts: true;*/ +/* combi-modes: "window,run";*/ +/* matching: "normal";*/ +/* tokenize: true;*/ +/* m: "-5";*/ +/* filter: ;*/ +/* dpi: -1;*/ +/* threads: 0;*/ +/* scroll-method: 0;*/ +/* window-format: "{w} {c} {t}";*/ +/* click-to-exit: true;*/ +/* global-kb: false;*/ +/* max-history-size: 25;*/ +/* combi-hide-mode-prefix: false;*/ +/* combi-display-format: "{mode} {text}";*/ +/* matching-negate-char: '-' /* unsupported */;*/ +/* cache-dir: ;*/ +/* window-thumbnail: false;*/ +/* drun-use-desktop-cache: false;*/ +/* drun-reload-desktop-cache: false;*/ +/* normalize-match: false;*/ +/* steal-focus: false;*/ +/* application-fallback-icon: ;*/ +/* refilter-timeout-limit: 300;*/ +/* xserver-i300-workaround: false;*/ +/* completer-mode: "filebrowser";*/ +/* imdkit: true;*/ +/* pid: "/run/user/1000/rofi.pid";*/ + display-window: "Windows"; + display-run: "Run"; + display-ssh: "SSH"; + display-drun: "Applications"; + display-combi: "Combinations"; + display-keys: "Keys"; + display-filebrowser: "Files"; + display-recursivebrowser: "Files"; + display-system: "System"; + display-calc: "Calculator"; + display-2fa: "2FA Codes"; +/* ml-row-left: "ScrollLeft";*/ +/* ml-row-right: "ScrollRight";*/ +/* ml-row-up: "ScrollUp";*/ +/* ml-row-down: "ScrollDown";*/ +/* me-select-entry: "MousePrimary";*/ +/* me-accept-entry: "MouseDPrimary";*/ +/* me-accept-custom: "Control+MouseDPrimary";*/ + timeout { + action: "kb-cancel"; + delay: 0; + } + filebrowser { + directories-first: true; + sorting-method: "name"; + } + drun { + /** Scan the current users desktop for desktop files. */ + scan-desktop: true; + /** Parse user desktop files. */ + parse-user: true; + /** Parse system desktop files. */ + parse-system: true; + /** Disable DBusActivatable */ + DBusActivatable: false; + } +} -@import "~/.config/rofi/master-config.rasi" +@theme "./style.rasi" -/* ---- Window ---- */ window { - width: 50%; + width: calc(50% max 1080); } -/* ---- Listview ---- */ + listview { - columns: 5; - lines: 5; - fixed-height: true; + columns: 3; + dynamic: true; + fixed-height: false; + lines: 10; } - -/* ---- Element ---- */ -element { - orientation: vertical; - padding: 10px 5px 10px 5px; - spacing: 6px; -} - -element-icon { - size: 3%; -} - -element-text { - font: "JetBrainsMono Nerd Font SemiBold 10"; - horizontal-align: 0.5; -} \ No newline at end of file diff --git a/.config/rofi/master-config.rasi b/.config/rofi/master-config.rasi deleted file mode 100644 index 8314381..0000000 --- a/.config/rofi/master-config.rasi +++ /dev/null @@ -1,237 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Master Config 1080p*/ - -/* ---- Configuration ---- */ - -configuration { - font: "JetBrainsMono Nerd Font SemiBold 12"; - modi: "drun,run,filebrowser"; - 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 background - 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: 3px 0px 3px 0px; - border-radius: 30px; - location: center; - anchor: center; - - // Style Values - width: 50%; - background-color: @background; -} - -/* ----- Main Box ----- */ -mainbox { - padding: 12px; - enabled: true; - orientation: vertical; - children: [ "inputbar", "listbox" ]; - background-color: transparent; -} - - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - padding: 10px 10px 50px 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: true; - 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 { - border: 0; - handle-color: @border-color; - handle-width: 2px ; - 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 { - border: 0px 3px 0px 3px; - border-radius: 16px; - border-color: @selected; - background-color: transparent; - text-color: @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; - cursor: inherit; -} -element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; - background-color: transparent; - 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 deleted file mode 100755 index eca05ea..0000000 --- a/.config/rofi/resolution/1080p/config.rasi +++ /dev/null @@ -1,31 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config 1080p */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Window ---- */ -window { - width: 50%; -} -/* ---- Listview ---- */ -listview { - columns: 5; - lines: 5; - fixed-height: true; -} - -/* ---- Element ---- */ -element { - orientation: vertical; - padding: 10px 5px 10px 5px; - spacing: 6px; -} - -element-icon { - size: 3%; -} - -element-text { - font: "JetBrainsMono Nerd Font SemiBold 10"; - horizontal-align: 0.5; -} \ No newline at end of file diff --git a/.config/rofi/resolution/1080p/master-config.rasi b/.config/rofi/resolution/1080p/master-config.rasi deleted file mode 100644 index 8314381..0000000 --- a/.config/rofi/resolution/1080p/master-config.rasi +++ /dev/null @@ -1,237 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Master Config 1080p*/ - -/* ---- Configuration ---- */ - -configuration { - font: "JetBrainsMono Nerd Font SemiBold 12"; - modi: "drun,run,filebrowser"; - 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 background - 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: 3px 0px 3px 0px; - border-radius: 30px; - location: center; - anchor: center; - - // Style Values - width: 50%; - background-color: @background; -} - -/* ----- Main Box ----- */ -mainbox { - padding: 12px; - enabled: true; - orientation: vertical; - children: [ "inputbar", "listbox" ]; - background-color: transparent; -} - - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - padding: 10px 10px 50px 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: true; - 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 { - border: 0; - handle-color: @border-color; - handle-width: 2px ; - 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 { - border: 0px 3px 0px 3px; - border-radius: 16px; - border-color: @selected; - background-color: transparent; - text-color: @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; - cursor: inherit; -} -element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; - background-color: transparent; - 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 deleted file mode 100755 index c8b3deb..0000000 --- a/.config/rofi/resolution/1440p/config.rasi +++ /dev/null @@ -1,37 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Main Config 1440p */ - -@import "~/.config/rofi/master-config.rasi" - -/* ---- Window ---- */ -window { - width: 50%; -} - -/* ---- Mode Switcher ---- */ -button { - width: 110px; -} - -/* ---- Listview ---- */ -listview { - columns: 5; - lines: 5; - fixed-height: true; -} - -/* ---- Element ---- */ -element { - orientation: vertical; - padding: 10px 5px 10px 5px; - spacing: 6px; -} - -element-icon { - size: 3%; -} - -element-text { - font: "JetBrainsMono Nerd Font SemiBold 12"; - horizontal-align: 0.5; -} diff --git a/.config/rofi/resolution/1440p/master-config.rasi b/.config/rofi/resolution/1440p/master-config.rasi deleted file mode 100644 index 430dff6..0000000 --- a/.config/rofi/resolution/1440p/master-config.rasi +++ /dev/null @@ -1,237 +0,0 @@ -/* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ -/* Master Config 1440p*/ - -/* ---- Configuration ---- */ - -configuration { - font: "JetBrainsMono Nerd Font SemiBold 12"; - modi: "drun,run,filebrowser"; - 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 background - 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: 3px 0px 3px 0px; - border-radius: 30px; - location: center; - anchor: center; - - // Style Values - width: 50%; - background-color: @background; -} - -/* ----- Main Box ----- */ -mainbox { - padding: 12px; - enabled: true; - orientation: vertical; - children: [ "inputbar", "listbox" ]; - background-color: transparent; -} - - -/* ---- Inputbar ---- */ -inputbar { - enabled: true; - padding: 10px 10px 50px 10px; - margin: 10px; - background-color: transparent; - border-radius: 20px; - 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: true; - 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 { - border: 0; - handle-color: @border-color; - handle-width: 2px ; - 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 { - border: 0px 3px 0px 3px; - border-radius: 16px; - border-color: @selected; - background-color: transparent; - text-color: @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; - cursor: inherit; -} -element-text { - font: "JetBrainsMono Nerd Font SemiBold 14"; - background-color: transparent; - 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/wallust/colors-rofi.rasi b/.config/rofi/wallust/colors-rofi.rasi deleted file mode 100644 index 120a5f4..0000000 --- a/.config/rofi/wallust/colors-rofi.rasi +++ /dev/null @@ -1,31 +0,0 @@ - /* ---- ๐Ÿ’ซ https://github.com/JaKooLit ๐Ÿ’ซ ---- */ - /* wallust template - colors-rofi */ - -* { -active-background: #7A5A4B; -active-foreground: #F5F3F2; -normal-background: #26272C; -normal-foreground: #F5F3F2; -urgent-background: #AE9B92; -urgent-foreground: #F5F3F2; - -alternate-active-background: #A0865E; -alternate-active-foreground: #F5F3F2; -alternate-normal-background: #26272C; -alternate-normal-foreground: #F5F3F2; -alternate-urgent-background: #26272C; -alternate-urgent-foreground: #F5F3F2; - -selected-active-background: #7A5A4B; -selected-active-foreground: #F5F3F2; -selected-normal-background: #E8E5E3; -selected-normal-foreground: #F5F3F2; -selected-urgent-background: #AE9B92; -background: rgba(0,0,0,0.7); - -background-color: #26272C; -background: rgba(0,0,0,0.7); -foreground: #E8E5E3; -border-color: #7A5A4B; -} - diff --git a/.config/theming/applications/rofi/style.scss b/.config/theming/applications/rofi/style.scss new file mode 100644 index 0000000..9ac2716 --- /dev/null +++ b/.config/theming/applications/rofi/style.scss @@ -0,0 +1,81 @@ +@import "../../library/entry.scss"; + +$border-gray: $border-color; +$border-primary: $color2; + +$transparentBackground: rgba(128,128,128, 0.6); + +* { + + text-color: $foreground; + background-color: transparent; +} + +window { + transparency: "real"; + +} + +inputbar, listview { + border-radius: $border-radius; + border: 1px solid; + border-color: $border-color; + + text-color: $foreground; + background-color: $background; +} + +inputbar, listview, message, element { + margin: $input-padding; +} + +inputbar { + children: [mode-switcher, entry] +} + +prompt { + border: 0 1px 0 0; + border-color: $border-color; +} +entry { + border: 0 0 0 1px; + border-color: $border-color; + padding: $input-padding; + margin: 0 0 0 4px; +} + +listview { + padding: 0.3em; + margin: 3px; +} + +element { + margin: 0; + border-radius: $border-radius; + padding: $input-padding; + + selected { + background-color: $transparentBackground; + } +} + +element-icon { + padding: 0 0.5em 0 0; + size: 16; +} + +mode-switcher { + enabled: true; +} + +button { + border-radius: $border-radius; + expand: false; + margin: 4px; + padding: 4px 12px; + + selected { + border: 1px solid; + border-color: $border-primary; + } +} diff --git a/.config/theming/compile.sh b/.config/theming/compile.sh index 1285de2..1989697 100755 --- a/.config/theming/compile.sh +++ b/.config/theming/compile.sh @@ -7,4 +7,5 @@ sass --no-source-map \ $APPLICATIONS_PATH/waybar/style.scss:$HOME/.config/waybar/style.css \ $APPLICATIONS_PATH/nwg-drawer/style.scss:$HOME/.config/nwg-drawer/drawer.css \ $APPLICATIONS_PATH/anyrun/entry.scss:$HOME/.config/anyrun/style.css \ - $APPLICATIONS_PATH/hyprswitch/style.scss:$HOME/.config/hyprswitch/style.css + $APPLICATIONS_PATH/hyprswitch/style.scss:$HOME/.config/hyprswitch/style.css \ + $APPLICATIONS_PATH/rofi/style.scss:$HOME/.config/rofi/style.rasi diff --git a/.config/yadm/bootstrap.v2/applications/11-DesktopEnv.sh b/.config/yadm/bootstrap.v2/applications/11-DesktopEnv.sh index 0176593..a42a7e7 100755 --- a/.config/yadm/bootstrap.v2/applications/11-DesktopEnv.sh +++ b/.config/yadm/bootstrap.v2/applications/11-DesktopEnv.sh @@ -28,7 +28,7 @@ if [ $XDG_SESSION_DESKTOP = "Hyprland" ]; then grim slurp pinta \ hyprsunset \ darkman \ - anyrun-git \ + rofi rink \ posy-improved-cursors \ pamixer fi