From 61bbe3b7d94387ede06353e626465f2987932afe Mon Sep 17 00:00:00 2001 From: Daniel <48409433+darkeddie@users.noreply.github.com> Date: Fri, 24 Nov 2023 22:44:52 +1100 Subject: Rofi style power menu --- config-powermenu.rasi | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 config-powermenu.rasi (limited to 'config-powermenu.rasi') diff --git a/config-powermenu.rasi b/config-powermenu.rasi new file mode 100644 index 00000000..9126a32e --- /dev/null +++ b/config-powermenu.rasi @@ -0,0 +1,123 @@ +/* --- Configuration for Rofi Power ---- */ + +/* ---- Configuration ---- */ +configuration { + show-icons: false; +} + +/* ---- Load pywal colors (custom wal template) ---- */ +@import "~/.config/rofi/pywal-color/pywal-theme.rasi" + +/* ---- Global Properties ---- */ +* { + font: "JetBrains Mono Nerd Font 14"; +} + +/* ---- Main Window ---- */ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 25%; + height: 25%; + x-offset: 0px; + y-offset: 0px; + padding: 0px; + border: 1px solid; + border-radius: 15px; + border-color: @active-background; + cursor: "default"; + background-color: @background-color; +} + +/* ---- Main Box ---- */ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + background-image: url("~/.config/rofi/.current_wallpaper", width); + border-color: @active-background; + background-color: @background-color; + children: [ "inputbar", "listview", "message" ]; +} + +/* ---- Inputbar ---- */ +inputbar { + enabled: true; + padding: 2px 4%; + background-color: transparent; + orientation: vertical; + children: ["prompt"]; +} + +prompt { + enabled: true; + padding: 2% 5%; + border-radius: 100% 100% 100% 100%; + border-color: @foreground; + background-color: @background-color; + text-color: @foreground; + cursor: text; +} + +/* ---- Listview ---- */ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + spacing: 30px; + padding: 4% 30px; + background-color: transparent; + cursor: "default"; + border: 0px; +} + +/* ---- Elements ---- */ +element { + enabled: true; + padding: 20px; + border-radius: 40px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "JetBrains Mono Nerd Font 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: @selected-normal-background; + text-color: @background; +} + +/* ---- Message ---- */ +message { + enabled: true; + margin: 0px; + padding: 15px; + border-radius: 0px; + background-color: transparent; + text-color: @foreground; + border: 0px; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} \ No newline at end of file -- cgit v1.2.3