You are not logged in.
I am having a problem at configuring my Rofi theme for my Arch Linux. I downloaded the material theme from https://github.com/davatorium/rofi-them … r%20Themes and selected it with rofi-theme-selector, but it does not show the same way as per the description.
In particular, I cannot read the entries from the menu because of the colors being wrongly set (black on dark blue).
Further info:
OS: Arch Linux
WM: i3
Could you please help me? Thanks in advance.
Offline
There's neither black nor dark blue in the shot of the theme - maybe link a screenshot of your system so that people get what you're actually seeing.
(Don't post a oversized image, just the link)
Offline
Please find it here
Offline
That's the material scheme, but there's nothing in the upstream .rasi that would explain the color
Does
rofi -theme material.rasi -show run
look ok?
If not, what's the output of
strace rofi -theme material.rasi -show run 2>&1 | grep material
and what does the opened file look like?
Offline
The output does not look OK in either way.
This is the output of strace:
execve("/usr/bin/rofi", ["rofi", "-theme", "material.rasi", "-show", "run"], 0x7ffe7a41d890 /* 36 vars */) = 0
access("/usr/share/rofi/themes/material.rasi", F_OK) = 0
openat(AT_FDCWD, "/usr/share/rofi/themes/material.rasi", O_RDONLY) = 6
access("material.rasi", F_OK) = -1 ENOENT (No such file or directory)
access("/home/archuser/.config/rofi/themes/material.rasi", F_OK) = -1 ENOENT (No such file or directory)
access("/home/archuser/.config/rofi/material.rasi", F_OK) = -1 ENOENT (No such file or directory)
access("/home/archuser/.local/share/rofi/themes/material.rasi", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/rofi/themes/material.rasi", F_OK) = 0
openat(AT_FDCWD, "/usr/share/rofi/themes/material.rasi", O_RDONLY) = 5
Offline
And what is the content of /usr/share/rofi/themes/material.rasi ?
Offline
This is the content of /usr/share/rofi/themes/material.rasi:
/*
* ROFI color theme
*
* Based on Base16 Material Color Scheme (https://github.com/ntpeters/base16-materialtheme-scheme)
*
* User: Tomaszal
* Copyright: Tomas Zaluckij
*/
* {
base00: #263238;
base01: #2E3C43;
base02: #314549;
base03: #546E7A;
base04: #B2CCD6;
base05: #EEFFFF;
base06: #EEFFFF;
base07: #FFFFFF;
base08: #F07178;
base09: #F78C6C;
base0A: #FFCB6B;
base0B: #C3E88D;
base0C: #89DDFF;
base0D: #82AAFF;
base0E: #C792EA;
base0F: #FF5370;
/*base0D: #00BCD4;*/
spacing: 0;
background-color: transparent;
font: "Roboto Mono 13";
}
window {
transparency: "real";
/*fullscreen: true;*/
background-color: #263238CC; /*base00 + CC (80% opacity)*/
}
mainbox {
children: [inputbar, message, mode-switcher, listview];
spacing: 30px;
/*margin: 20%;*/
padding: 30px 0;
border: 1px;
border-color: @base0D;
}
inputbar {
padding: 0 30px;
children: [prompt, textbox-prompt-colon, entry, case-indicator];
}
prompt {
text-color: @base0D;
}
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0 1ch 0 0;
text-color: @base0D;
}
entry {
text-color: @base07;
}
case-indicator {
text-color: @base0F;
}
mode-switcher, message {
border: 1px 0;
border-color: @base0D;
}
button, textbox {
background-color: @base03;
text-color: @base07;
padding: 5px;
}
button selected {
background-color: @base0D;
}
listview {
scrollbar: true;
margin: 0 10px 0 30px;
}
scrollbar {
background-color: @base03;
handle-color: @base0D;
handle-width: 10px;
border: 0 1px;
border-color: @base0D;
margin: 0 0 0 20px;
}
element {
padding: 5px;
highlight: bold underline;
}
element normal {
background-color: transparent;
}
element selected {
background-color: @base0D;
}
element alternate {
/*background-color: @base03;*/
}
element normal normal, element selected normal, element alternate normal {
text-color: @base07;
}
element normal urgent, element selected urgent, element alternate urgent {
text-color: @base0F;
}
element normal active, element selected active, element alternate active {
text-color: @base0B;
}
Offline
That's the upstream file - do you run a compositor next to i3 (picom)?
Offline
Yes, this is from i3 config:
...
exec_always picom -f
...
Offline
Glx or xrender? Somewhere in the back of my mind there was a shader bug (maybe related to blurring, though your scrot doesn't look like that)
Offline
I didn't install either of them. I'm still in the post-installation phase.
Should I install any to have it work?
Offline
What?
picom defaults to the xrender backend but you can configure it to use glx (and enable blurring and stuff like this)
Is picom running right now ("pidof picom")?
Offline
This is the PID of picom:
452
I did not configure it to use glx.
Offline