From a259a737107a513a415db837a053d54819acb6e7 Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Mon, 16 Mar 2026 21:19:24 +0100 Subject: [PATCH] Add rofi dotfiles --- dotfiles/desktop/.config/rofi/config.rasi | 100 ++++++++++++++++++++++ dotfiles/desktop/.config/rofi/dmenu.rasi | 14 +++ 2 files changed, 114 insertions(+) create mode 100644 dotfiles/desktop/.config/rofi/config.rasi create mode 100644 dotfiles/desktop/.config/rofi/dmenu.rasi diff --git a/dotfiles/desktop/.config/rofi/config.rasi b/dotfiles/desktop/.config/rofi/config.rasi new file mode 100644 index 0000000..c43325f --- /dev/null +++ b/dotfiles/desktop/.config/rofi/config.rasi @@ -0,0 +1,100 @@ +configuration { + modi: "drun,run,window"; + show-icons: true; + icon-theme: "Yaru"; + font: "Liberation Sans 11"; +} + +* { + bg: #1f1f28; + bg-alt: #2b2b36; + fg: #eeeeee; + fg-alt: #bcbcbc; + border: #3a3a46; + accent: #4a90d9; + accent-alt: #6daeea; + urgent: #c7162b; + + background-color: @bg; + text-color: @fg; +} + +window { + location: center; + anchor: center; + width: 32%; + border: 2px; + border-color: @accent; + border-radius: 10px; + padding: 12px; + background-color: @bg; +} + +mainbox { + spacing: 10px; + children: [ inputbar, listview ]; +} + +inputbar { + background-color: @bg-alt; + text-color: @fg; + border: 0px; + border-radius: 8px; + padding: 10px; + children: [ prompt, entry ]; +} + +prompt { + background-color: transparent; + text-color: @accent; + padding: 0px 8px 0px 0px; +} + +entry { + background-color: transparent; + text-color: @fg; + placeholder: "Search..."; + placeholder-color: @fg-alt; +} + +listview { + lines: 10; + columns: 1; + fixed-height: false; + spacing: 6px; + background-color: transparent; + scrollbar: false; +} + +element { + padding: 10px; + border-radius: 8px; + background-color: transparent; + text-color: @fg; +} + +element normal normal { + background-color: transparent; + text-color: @fg; +} + +element selected normal { + background-color: @accent; + text-color: #ffffff; +} + +element selected urgent { + background-color: @urgent; + text-color: #ffffff; +} + +element-icon { + size: 22px; + background-color: transparent; +} + +element-text { + background-color: transparent; + text-color: inherit; + vertical-align: 0.5; +} \ No newline at end of file diff --git a/dotfiles/desktop/.config/rofi/dmenu.rasi b/dotfiles/desktop/.config/rofi/dmenu.rasi new file mode 100644 index 0000000..d402963 --- /dev/null +++ b/dotfiles/desktop/.config/rofi/dmenu.rasi @@ -0,0 +1,14 @@ +window { + location: north; + anchor: north; + width: 100%; + border: 0; +} + +listview { + lines: 8; +} + +mainbox { + children: [ inputbar, listview ]; +} \ No newline at end of file