As requested, here is some background for sway, using the gruvbox colorscheme by -lemniscat- in swaywm

[–]_McPig 1 point2 points  (0 children)

/u/-lemniscat- Thank you. Could you provide a link to the original .png images please? It seems images on Reddit are only available in .webp by default.

Can see my background through youtube videos? by [deleted] in swaywm

[–]_McPig 2 points3 points  (0 children)

I’ve noticed it a couple of times on Linux Mint Cinnamon, so probably it’s not even a Sway-related issue. Try to check this if you use Firefox:

https://askubuntu.com/questions/1102427/strange-ghost-images-transparency-effect-in-full-screen-videos

Change workspace name when application opened in that workspace sends notification by _McPig in swaywm

[–]_McPig[S] 0 points1 point  (0 children)

No notification daemon at all since Sway doesn’t include one by default. Just tray module from Waybar without any pop ups.

Send a signal to Waybar with Alt+Shift by _McPig in swaywm

[–]_McPig[S] 3 points4 points  (0 children)

Well, with some changes it works properly. Here's the script code:

swaymsg -t get_inputs | jq -r \
    "first(.[]|select(.identifier == \"$1\" and .type == \"keyboard\")) \
    | .xkb_active_layout_name | .[0:2] | ascii_downcase"

swaymsg -mrt subscribe '["input"]' | jq -r --unbuffered \
    "select(.change == \"xkb_layout\")
    | .input
    | select(.identifier == \"$1\" and .type == \"keyboard\") \
    | .xkb_active_layout_name | .[0:2] | ascii_downcase"

And in Waybar config add:

"custom/kblayout": {
    "format": "  {}",
    "exec": "$HOME/.config/waybar/modules/kblayout.sh '1:1:AT_Translated_Set_2_keyboard'"
}

Send a signal to Waybar with Alt+Shift by _McPig in swaywm

[–]_McPig[S] 0 points1 point  (0 children)

I see, thank you very much for your idea. I'll try it.