From a81bbf51152496411431c201ca8e70789ccf5d8f Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Sat, 15 Aug 2026 12:57:44 +0200 Subject: [PATCH] feat: restore Rofi launcher --- .../config/user/common/rofi/breeze-dark.rasi | 134 ++++++++++++++++++ .../config/user/common/rofi/config.rasi | 7 + system-config/modules/host_system.py | 2 + system-config/scripts/split_packages.py | 2 +- 4 files changed, 144 insertions(+), 1 deletion(-) create mode 100644 system-config/config/user/common/rofi/breeze-dark.rasi create mode 100644 system-config/config/user/common/rofi/config.rasi diff --git a/system-config/config/user/common/rofi/breeze-dark.rasi b/system-config/config/user/common/rofi/breeze-dark.rasi new file mode 100644 index 0000000..c0013d1 --- /dev/null +++ b/system-config/config/user/common/rofi/breeze-dark.rasi @@ -0,0 +1,134 @@ +/* + * breeze-dark.rasi + * rofi theme inspired by plasma breeze + * MonsieurBedard + */ + +* { + /* Base */ + default-background: rgba(49, 52, 56, 100%); // <- change this for transparency + default-foreground: rgba(239, 240, 241, 100%); + default-border: rgba(97, 101, 105, 100%); + alternative-background: rgba(35, 38, 41, 100%); + invisible: rgba(0, 0, 0, 0%); + + /* Colors */ + hard-blue: rgba(42, 139, 218, 100%); + light-blue: rgba(24, 53, 69, 100%); + + hard-red: rgba(141, 58, 80, 100%); + light-red: rgba(77, 31, 37, 100%); + + hard-green: rgba(39, 161, 69, 100%); + light-green: rgba(19, 55, 35, 100%); + + /* Universal */ + background-color: @invisible; + border-color: @default-border; + font: "Noto Sans 30"; + text-color: @default-foreground; +} + +#window { + background-color: @default-background; + border: 1; + border-radius: 3; + border-color: @default-border; + padding: 7; +} + +#mainbox { + border: 0; + padding: 0; +} + +#message { + border: 1; + border-radius: 3; + padding: 5; + background-color: @alternative-background; +} + +#textbox { + background-color: @entry-background; +} + +#listview { + fixed-height: 0; + spacing: 2; + scrollbar: false; + padding: 2 0 0; +} + +#element { + padding: 5; + border: 1; + border-radius: 3; + border-color: @invisible; +} + +#element.normal.normal { + background-color: @invisible; +} + +#element.normal.urgent { + background-color: @light-red; +} + +#element.normal.active { + background-color: @light-green; +} + +#element.selected.normal { + background-color: @light-blue; + border-color: @hard-blue; +} + +#element.selected.urgent { + background-color: @light-red; + border-color: @hard-red; +} + +#element.selected.active { + background-color: @light-green; + border-color: @hard-green; +} + +#mode-switcher { + spacing: 0; +} + +#button { + border: 0 0 3 0; + border-color: @invisible; + padding: 3; +} + +#button.selected { + border-color: @hard-blue; +} + +#inputbar { + spacing: 0; + padding: 1; +} + +#case-indicator { + spacing: 0; + padding: 3px; + background-color: @alternative-background; + border: 1 1 1 0; + border-radius: 0 2 2 0; +} + +#entry { + background-color: @alternative-background; + padding: 3px; + border: 1 0 1 1; + border-radius: 2 0 0 2; +} + +#prompt { + padding: 3 7 3 0; +} + diff --git a/system-config/config/user/common/rofi/config.rasi b/system-config/config/user/common/rofi/config.rasi new file mode 100644 index 0000000..bf84040 --- /dev/null +++ b/system-config/config/user/common/rofi/config.rasi @@ -0,0 +1,7 @@ +configuration { + modi: "combi,window,drun,ssh"; + font: "hack 30"; + combi-modi: "window,drun,ssh"; +} + +@theme "glue_pro_blue" diff --git a/system-config/modules/host_system.py b/system-config/modules/host_system.py index daaae16..8f62f4e 100644 --- a/system-config/modules/host_system.py +++ b/system-config/modules/host_system.py @@ -119,6 +119,8 @@ def common_user_config() -> list[UserConfigConcern]: "/home/alex/.config/kitty/kitty.conf": "config/user/common/kitty/kitty.conf", "/home/alex/.config/mimeapps.list": "config/user/common/mime/mimeapps.list", "/home/alex/.config/noctalia/10-base.toml": "config/user/common/noctalia/10-base.toml", + "/home/alex/.config/rofi/breeze-dark.rasi": "config/user/common/rofi/breeze-dark.rasi", + "/home/alex/.config/rofi/config.rasi": "config/user/common/rofi/config.rasi", "/home/alex/.config/noctalia/palettes/Ember OLED.json": ( "config/user/common/noctalia/palettes/Ember OLED.json" ), diff --git a/system-config/scripts/split_packages.py b/system-config/scripts/split_packages.py index e8e6fbd..3f59fc8 100755 --- a/system-config/scripts/split_packages.py +++ b/system-config/scripts/split_packages.py @@ -19,7 +19,7 @@ CONCERNS: Final = { mtools dmidecode libsmbios catdoc odt2txt hunspell-de""", "common/wayland": """hyprland hypridle hyprlock xdg-desktop-portal-hyprland pipewire-alsa pipewire-pulse wireplumber pavucontrol pamixer mako wofi grim - slurp satty wl-clipboard wlr-randr alacritty kitty tmux neovim vim yazi ueberzugpp + slurp satty rofi wl-clipboard wlr-randr alacritty kitty tmux neovim vim yazi ueberzugpp webkit2gtk-4.1 flameshot playerctl rofi bluez bluez-utils blueman gnome-keyring xorg-xwayland noctalia-git ranger-git""",