From 91800bc9f737caa21868bc89fa14ed54d4def710 Mon Sep 17 00:00:00 2001 From: mjkwiatkowski Date: Sun, 1 Feb 2026 15:00:19 +0100 Subject: Initial commit --- rofi/config.rasi | 21 ++++++++++++ rofi/shape.rasi | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 rofi/config.rasi create mode 100644 rofi/shape.rasi (limited to 'rofi') diff --git a/rofi/config.rasi b/rofi/config.rasi new file mode 100644 index 0000000..c2884dc --- /dev/null +++ b/rofi/config.rasi @@ -0,0 +1,21 @@ +/* Original theme author: Newman Sanchez (https://github.com/newmanls) */ +/* The theme is adjusted to no longer be rounded */ + +@theme "/dev/null" + +* { + fg0: #E6EEF2; /* primary text (light) */ + fg1: #C9D0D3; /* secondary text */ + fg2: #9DA4A7; /* prompt / muted text */ + fg3: #858B8E; /* placeholder / subtle */ + + bg0: #6b6b6b; /* window background (a bit lighter) */ + bg1: #4C4C4C; /* inputbar & list background */ + bg2: #6B6B6B; /* hover / message panel */ + bg3: #4C4C4C; /* selected element background (lighter than before) */ +} +@import "shape.rasi" + +element selected { + text-color: @bg1; +} diff --git a/rofi/shape.rasi b/rofi/shape.rasi new file mode 100644 index 0000000..fc29da5 --- /dev/null +++ b/rofi/shape.rasi @@ -0,0 +1,97 @@ +/* Original author: Newman Sanchez (https://github.com/newmanls) */ +/* The theme is no longer rounded */ +* { + font: "Fira Code Bold 11"; + + background-color: transparent; + text-color: @fg0; + + margin: 0px; + padding: 0px; + spacing: 0px; +} + +window { + location: north; + y-offset: calc(50% - 176px); + width: 510; + border-radius: 0px; + + background-color: @bg0; +} + +mainbox { + padding: 12px; +} + +inputbar { + background-color: @bg1; + border-color: @bg2; + + border: 2px; + border-radius: 0px; + + padding: 8px 16px; + spacing: 8px; + children: [ prompt, entry ]; +} + +prompt { + text-color: @fg2; +} + +entry { + placeholder: "Search"; + placeholder-color: @fg3; + text-color: @fg0; +} + +message { + margin: 12px 0 0; + border-radius: 0px; + border-color: @bg2; + background-color: @bg2; +} + +textbox { + padding: 8px 24px; +} + +listview { + background-color: transparent; + + margin: 12px 0 0; + lines: 8; + columns: 1; + + fixed-height: false; +} + +element { + padding: 8px 16px; + spacing: 8px; + border-radius: 0px; + background-color: transparent; +} + +element normal active { + text-color: @fg0; +} + +element alternate active { + text-color: @fg0; +} + +element selected normal, element selected active { + background-color: @bg3; + text-color: @fg0; +} + +element-icon { + size: 1em; + vertical-align: 0.5; +} + +element-text { + text-color: inherit; +} -- cgit v1.2.3