From 590ccb5c9e3b60ee368411dbd9a34130727e31b8 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Sat, 26 Apr 2025 12:09:07 +0200 Subject: [PATCH] [Rofi] Add configs --- config/rofi/config_desktop.rasi | 12 +++++ config/rofi/config_laptop.rasi | 13 ++++++ config/rofi/style.rasi | 83 +++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 config/rofi/config_desktop.rasi create mode 100644 config/rofi/config_laptop.rasi create mode 100644 config/rofi/style.rasi diff --git a/config/rofi/config_desktop.rasi b/config/rofi/config_desktop.rasi new file mode 100644 index 0000000..e0e9303 --- /dev/null +++ b/config/rofi/config_desktop.rasi @@ -0,0 +1,12 @@ +/** Basic config file **/ + +configuration { + show-icons: true; + icon-theme: "Candy"; + display-drun: ""; + display-run: "🏃🏽‍♂️ "; + display-window: "🗔 "; + display-combi: "🔎 "; +} + +@theme "style.rasi" diff --git a/config/rofi/config_laptop.rasi b/config/rofi/config_laptop.rasi new file mode 100644 index 0000000..929cac5 --- /dev/null +++ b/config/rofi/config_laptop.rasi @@ -0,0 +1,13 @@ +/** Basic config file **/ + +configuration { + show-icons: true; + icon-theme: "Candy"; + display-drun: ""; + display-run: "🏃🏽‍♂️ "; + display-window: "🗔 "; + display-combi: "🔎 "; + dpi: 160; +} + +@theme "style.rasi" diff --git a/config/rofi/style.rasi b/config/rofi/style.rasi new file mode 100644 index 0000000..a9d6fe1 --- /dev/null +++ b/config/rofi/style.rasi @@ -0,0 +1,83 @@ +* { + background: #141414; + background-selected: #1E1E1E; + foreground: #E6E6E6; + accent: #B27BD1; + accent-two: #5F50A6; + // border-color: #050406; + inactive: #C8C8C8; + spacing: 2; + width: 30em; + margin: 0; + padding: 0; +} + +#window { + background-color: @background; + border-color: @accent-two; + border: 1px; + border-radius: 10px; + padding: 0; + location: west; + anchor: west; + margin: 0; +} + +#mainbox { + background-color: @background; + spacing: 10px; + margin: 10px 0 0 0; + width: 200px; +} + +#inputbar { + children: [prompt,entry]; + background-color: @background; +} + +#listview { + background-color: @background; + fixed-height: true; + margin: 5px 0 0 10px; +} + +#element { + padding: 5px; + background-color: @background; + text-color: @foreground; +} + +element selected { + background-color: @background-selected; + text-color: @accent; + border: 1px; + border-radius: 5px; +} + +element-text { + background-color: inherit; + text-color: inherit; +} + +element-icon { + background-color: inherit; + margin: 0 4px 0 0; + size: 40px; +} + +#entry { + background-color: @background; + text-color: @accent; + placeholder: "Search"; + placeholder-color: @inactive; + font: "Comfortaa Regular 20"; +} + +#prompt { + background-color: @background; + padding: 0 4px; + margin: 0 5px 0 0; + text-color: @foreground; + font: "Adwaita Sans Regular 20"; +} +