Qtile Community Edition - General Discussion

New rofi configuration, stolen and modified from https://github.com/adi1090x/rofi:

Thoughts?

4 Likes

That looks great and if people want to then tweak what is shown they can but as a default I really like that.

3 Likes

That is the most irritating website E.V.E.R. I didn’t have photo-sensitive epilepsy until now :rofl:

3 Likes

The issue I’m running into is it messes up the power menu. eg

Does anyone know how to make a specific style apply when starting rofi? Or rather, just override the style chosen?

1 Like

In the powermenu.sh script itself can’t you define how rofi starts. For example in the bspwm powermenu script it says…

# Get answer from user via rofi
selected_option=$(echo "$lock
$logout
$sleep
$reboot
$shutdown" | rofi -dmenu\
                  -i\
                  -p "Power"\
                  -config "~/.config/rofi/config.rasi"\
                  -font "Symbols Nerd Font 12"\
                  -width "15"\
                  -lines 5\
                  -line-margin 3\
                  -line-padding 10\
                  -scrollbar-width "0" )
1 Like

Hmm, perhaps. I’m not sure what the correct option is to default the styling. Maybe I have to use individual options…

1 Like

@codic12
remove this line
(and then we will have to manually define colors in there)

1 Like

Even if I remove the line, the theme still applies.

2 Likes

So let the old rofi config file stay too, but with a different name. Like config_powermenu.rasi.

Then in the power menu script, change the config flag to use config_poweemenu.rasi instead of default config.rasi.

That’s what I’m doing with the same result unfortunately.

# Get answer from user via rofi
selected_option=$(echo "$lock
$logout
$sleep
$reboot
$shutdown" | rofi -dmenu\
                  -i\
                  -p "Power"\
                  # -config "~/.config/rofi/config.rasi"\
                  -font "Symbols Nerd Font 12"\
                  -width "15"\
                  -lines 5\
                  -line-margin 3\
                  -line-padding 10\
                  -scrollbar-width "0"\
 -theme ~/.config/rofi/styles/powermenu.rasi
                

powermenu.rasi:

configuration {
    color-normal: "argb:00383c4a, #b0b5bd, argb:00383c4a, argb:E6101010, #ff7f7f";
	color-urgent: "argb:00383c4a, #b0b5bd, argb:00383c4a, argb:00383c4a, #24ffef";
	color-active: "argb:00383c4a, #b0b5bd, argb:00383c4a, argb:00383c4a, #24ffef";
	color-window: "argb:E6383c4a, argb:00383c4a, argb:E65294e2";
}

should be

-config ~/.config/rofi/styles/powermenu.rasi

2 Likes

Finally it works, thanks!

3 Likes

Will you be pushing your latest changes to the repo at some point? :pray:

2 Likes

How do I install this on Endeavor OS? I have tried to install qtile alongside gnome 40 but it gets me into a black screen. Yes, I have gnome.session, gnome.desktop, the code snippet from the docs.qtile.org but nothing works. Using Xorg gnome 40 right now

2 Likes

Hi! Welcome to the forum :wave: :enos_flag:

To install Qtile configs, follow these steps.

git clone https://github.com/codic12/EosQtile
cd EosQtile

At this point, I recommend you to check setup.sh file and verify that you don’t see any command you don’t want to run. Its just a good habit; I guarantee there is nothing harmful in the script there. Do note that existing configs will be overwritten, so make backups from your ~/.config directory.

If you are satisfied with the script, continue with the commands.

chmod +x setup.sh
./setup.sh
sudo pacman -S --needed - < packages-repository.txt

At this point, you can log out of Gnome and use Qtile session.

Note that the Qtile configs are still in development, so at the moment it may not be as polished as you might want it to be. You can try it out, and share your feedback on how it can be improved. :v:

2 Likes

Sorry but this does not work. I have installed gnome 40. So, I have been trying to get qtile to work since day one. I just did all the steps above, but I get the same qtile eroor XCB_CONNECTION_ERROR. Does this have to be run from .xinitrc using starxt or gdm?
I have tried both and neither one works. Black screen with the XCB_CONNECTION_ERRO in ~/.local/share/qtile/qtile.log

Never mind. I just read that it needs to be installed without a DE. thanks

3 Likes

Yeah, I’ll get around to it today; kind of forgot about it :+1:

2 Likes

Please don’t forget about it… I’m just getting comfortable with it all.

Also, I’d be more than happy to submit some PRs over the weekend for possible improvements to things like the top bar (using chevron-style dividers and some color) and for the actual Qtile config if that would help.

2 Likes

Any contribution helps!

1 Like

image

image

Finally got those powerline characters to render properly.

6 Likes