rxyhn / yoru

夜 - Yoru | Aesthetic and Beautiful Awesome Environment :first_quarter_moon:
GNU General Public License v3.0
3.46k stars 196 forks source link

Screenshot area in blue [Bug] #144

Closed abueno19 closed 1 year ago

abueno19 commented 1 year ago

When I press to take a screenshot the screen turns blue although this does not prevent me from cropping to select the capture area WhatsApp Image 2022-09-20 at 19 06 26

VicoHBB commented 1 year ago

I think it's a problem with picom, I didn't find the right solution, but it helped me.

In the rc.lua file put to the end the following line:

os.execute("picom -b")
abueno19 commented 1 year ago

thanks for helping me it worked

rafeDraper commented 1 year ago

Another alternative, which is working for me without problems, is to use a script as described here : https://wiki.archlinux.org/title/Awesome#Autostart

This is what I added to my rc.lua: awful.spawn.with_shell("~/.config/awesome/autorun.sh")

I created the autorun.sh file and made it executable with this:

#!/bin/sh

run() {
  if ! pgrep -f "$1" ;
  then
    "$@"&
  fi
}

run picom --config ~/.config/awesome/configuration/picom.conf

Somehow the helper functions do not work for me and that was my main problem.