Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picom not loading correctly? #31

Open
anandrajaram21 opened this issue Dec 31, 2020 · 14 comments
Open

Picom not loading correctly? #31

anandrajaram21 opened this issue Dec 31, 2020 · 14 comments

Comments

@anandrajaram21
Copy link

I'm relatively new to the linux wm world, and started off with awesomewm when I saw your post on reddit. I was in love with it, and wanted to switch to your config. I followed the steps outlined in the installation instructions, and I have some issues.
2020-12-31-094445_1920x1080_scrot

  1. The left sidebar is not all the way to the top
  2. I cant increase the volume with my keyboard, when I try to, the error on the top right pops up
  3. There is no blurring effect, and no rounded corners. The background is either completely black, or completely transparent. (I'm using the ibhagwan picom version as you suggested)
    Can you please help me out with these? Thanks
@WillPower3309
Copy link
Owner

WillPower3309 commented Dec 31, 2020

I'll help you out with picom first then we can figure out the volume issue. The left bar issue is related to picom as well, try copying the picom config at awesome/configuration/mirage/picom.conf to .config/picom.conf and run picom with picom --experimental-backends

If any issues arise please respond with he output

We'll get this working :)

@anandrajaram21
Copy link
Author

anandrajaram21 commented Dec 31, 2020

Hey, thanks for that. The blur works perfectly now and so do the animations, but the sidebar is still the same.

Also, the buttons on the title bar of each window have really jagged edges (no anti aliasing perhaps?) and the rounded corners are too close to the buttons (it doesnt look as refined as what was in your screenshot). How can I fix that?

Thanks for the quick reply :)

EDIT: I copied your alacritty config, and the font is all garbled now. Any idea why?
2020-12-31-114608_1920x1080_scrot

@WillPower3309
Copy link
Owner

Download MesloLGS font (its in the README under "fonts to install") to fix the terminal text. I have a suspicion on whats causing the titlebar button issue, ill investigate in a VM since I think I know what the problem is and its an easy fix (has to do with screen DPI). Are the volume buttons still giving you trouble? Also, try reloading awesomewm with win + r to see of that fixes the panels. If not I'll investigate and should be able to fix since I had that issue in earlier iterations (but thought I fixed it)!

@WillPower3309
Copy link
Owner

If you'd like to wrap up your picom problem replace the picom line in the autostart part of the rc.lua with the command you used to get it to work. The command i provided in the autostart assumes you don't have my picom.conf in your .config folder

@anandrajaram21
Copy link
Author

Hey, thank you so much for replying so fast. Means a lot :)

What is fixed:

  1. The font on the terminal is now perfect (cant believe I overlooked that part)
  2. The left sidebar is now perfect
  3. Picom loads properly

What still doesnt work:

  1. The jagged buttons, and corners being too close to the buttons.

Again thank you very much, cant be happier.
2020-12-31-121634_1920x1080_scrot

@WillPower3309
Copy link
Owner

No problem! I will adjust the buttons on my end tomorrow and let you know when they're done

@WillPower3309
Copy link
Owner

I have a question for you too now, what prompt are you using under the fish shell? It looks like powerlevel10k but it was my understanding that's only for zsh

@anandrajaram21
Copy link
Author

I have a question for you too now, what prompt are you using under the fish shell? It looks like powerlevel10k but it was my understanding that's only for zsh

Ah, I'm using the Tide prompt. It's a really great prompt.

Also, kudos to the amazing work you have done. I am absolutely loving your setup. I just have to change a few keybindings, and I'll be right at home.

And yeah, I forgot to mention it before, the volume buttons still dont work. Any idea why?

@e-sam
Copy link

e-sam commented Dec 31, 2020

I was facing the same issue, where picom would not start correctly (also affecting all other commands placed in run_on_start_up). I am as well using the fish shell and was able to fix it, by changing line 71 in rc.lua:

- awful.spawn.with_shell(string.format("pgrep -u $USER -x %s > /dev/null || (%s)", findme, app), false)
+ awful.spawn.with_shell(string.format("pgrep -u $USER -x %s > /dev/null || %s", findme, app), false)

As far as I understand, the problem is, that in fish the rounded brackets indicate a command substitution, similar to $(...) in bash. If I run the original line in fish, it gives me the following output:

> pgrep -u $USER -x echo > /dev/null || (echo "Test")
fish: Command substitutions not allowed

Maybe, there is a way to change that line to something that works in both shells? Or, if that's not possible, check the shell first and adjust the command accordingly?

Anyways, thanks for the amazing work!

@anandrajaram21
Copy link
Author

I was facing the same issue, where picom would not start correctly (also affecting all other commands placed in run_on_start_up). I am as well using the fish shell and was able to fix it, by changing line 71 in rc.lua:

- awful.spawn.with_shell(string.format("pgrep -u $USER -x %s > /dev/null || (%s)", findme, app), false)
+ awful.spawn.with_shell(string.format("pgrep -u $USER -x %s > /dev/null || %s", findme, app), false)

As far as I understand, the problem is, that in fish the rounded brackets indicate a command substitution, similar to $(...) in bash. If I run the original line in fish, it gives me the following output:

> pgrep -u $USER -x echo > /dev/null || (echo "Test")
fish: Command substitutions not allowed

Maybe, there is a way to change that line to something that works in both shells? Or, if that's not possible, check the shell first and adjust the command accordingly?

Anyways, thanks for the amazing work!

Oh wow, I didnt know this. Thank you very much for shedding light upon this. It'll be very useful for others who default to the fish shell

@WillPower3309
Copy link
Owner

I was facing the same issue, where picom would not start correctly (also affecting all other commands placed in run_on_start_up). I am as well using the fish shell and was able to fix it, by changing line 71 in rc.lua:

- awful.spawn.with_shell(string.format("pgrep -u $USER -x %s > /dev/null || (%s)", findme, app), false)
+ awful.spawn.with_shell(string.format("pgrep -u $USER -x %s > /dev/null || %s", findme, app), false)

As far as I understand, the problem is, that in fish the rounded brackets indicate a command substitution, similar to $(...) in bash. If I run the original line in fish, it gives me the following output:

> pgrep -u $USER -x echo > /dev/null || (echo "Test")
fish: Command substitutions not allowed

Maybe, there is a way to change that line to something that works in both shells? Or, if that's not possible, check the shell first and adjust the command accordingly?

Anyways, thanks for the amazing work!

Wow good catch, thanks for the insight! I was having a hard time diagnosing this. I'll look into adding an elegant way of addressing this

@WillPower3309
Copy link
Owner

I have a question for you too now, what prompt are you using under the fish shell? It looks like powerlevel10k but it was my understanding that's only for zsh

Ah, I'm using the Tide prompt. It's a really great prompt.

Also, kudos to the amazing work you have done. I am absolutely loving your setup. I just have to change a few keybindings, and I'll be right at home.

And yeah, I forgot to mention it before, the volume buttons still dont work. Any idea why?

I'll have to look into it on my end as I'm not quite sure, shouldn't be too hard to fix though!

@WillPower3309
Copy link
Owner

@anandrajaram21 would you be able to confirm that the volume buttons are still not working after pulling in the recent changes to the repo? On my testing device it seems to work now (potentially an issue with fish that was indirectly resolved in the startup fix I published) but I'd like to confirm it works across all devices before closing

@anandrajaram21
Copy link
Author

I just pulled the new version, but the volume doesnt work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants