[Rofi] Fixes rendering and updates styles

This commit is contained in:
2025-05-20 17:50:49 -07:00
parent d5bc7c3143
commit f2875caabb
6 changed files with 18 additions and 12 deletions

View File

@@ -7,7 +7,7 @@
**/ **/
* { * {
background: #15161EFF; background: #15161ECC;
background-alt: #1A1B26FF; background-alt: #1A1B26FF;
foreground: #C0CAF5FF; foreground: #C0CAF5FF;
selected: #33467CFF; selected: #33467CFF;

View File

@@ -15,4 +15,4 @@
/* Import color-scheme from `colors` directory */ /* Import color-scheme from `colors` directory */
@import "~/.config/rofi/colors/onedark.rasi" @import "~/.config/rofi/colors/tokyonight.rasi"

View File

@@ -10,8 +10,8 @@
/*****----- Configuration -----*****/ /*****----- Configuration -----*****/
configuration { configuration {
modi: "drun"; modi: "drun";
show-icons: true; show-icons: true;
display-drun: ""; display-drun: "";
drun-display-format: "{name}"; drun-display-format: "{name}";
} }
@@ -32,8 +32,8 @@ window {
enabled: true; enabled: true;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
border: 0px solid; border: 2px solid;
border-radius: 0px; border-radius: 5px;
border-color: @selected; border-color: @selected;
background-color: @background; background-color: @background;
cursor: "default"; cursor: "default";

View File

@@ -15,4 +15,4 @@
/* Import color-scheme from `colors` directory */ /* Import color-scheme from `colors` directory */
@import "~/.config/rofi/colors/onedark.rasi" @import "~/.config/rofi/colors/tokyonight.rasi"

View File

@@ -35,8 +35,8 @@ window {
enabled: true; enabled: true;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
border: 0px solid; border: 2px solid;
border-radius: 0px; border-radius: 5px;
border-color: @selected; border-color: @selected;
cursor: "default"; cursor: "default";
background-color: @background; background-color: @background;

View File

@@ -40,7 +40,13 @@ in
}; };
# Set up eww here because it's based on the monitor configuration # Set up eww here because it's based on the monitor configuration
wayland.windowManager.hyprland.settings.exec-once = [ wayland.windowManager.hyprland.settings = {
"sleep 2 && eww open-many primary-statusbar secondary-statusbar launcher" exec-once = [
]; "sleep 2 && eww open-many primary-statusbar secondary-statusbar launcher"
];
windowrulev2 = [
# Rofi doesn't center properly when I have the two asymetric monitors
"center, class:Rofi"
];
};
} }