[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;
foreground: #C0CAF5FF;
selected: #33467CFF;

View File

@@ -15,4 +15,4 @@
/* 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 {
modi: "drun";
show-icons: true;
display-drun: "";
show-icons: true;
display-drun: "";
drun-display-format: "{name}";
}
@@ -32,8 +32,8 @@ window {
enabled: true;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 0px;
border: 2px solid;
border-radius: 5px;
border-color: @selected;
background-color: @background;
cursor: "default";

View File

@@ -15,4 +15,4 @@
/* 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;
margin: 0px;
padding: 0px;
border: 0px solid;
border-radius: 0px;
border: 2px solid;
border-radius: 5px;
border-color: @selected;
cursor: "default";
background-color: @background;

View File

@@ -40,7 +40,13 @@ in
};
# Set up eww here because it's based on the monitor configuration
wayland.windowManager.hyprland.settings.exec-once = [
"sleep 2 && eww open-many primary-statusbar secondary-statusbar launcher"
];
wayland.windowManager.hyprland.settings = {
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"
];
};
}