You are not logged in.

#1 2022-05-31 11:30:15

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 192
Website

[SOLVED] Cannot make alacritty transparent in i3

Hi I was using xfce-terminal till now in my i3 window manager and I want to switch to alacritty. I really liked the features  it has but how can I make my terminal transparent ? I am already using picom. I can make my xfce terminal transparent but I cannot make alacritty transparent.
This is the screenshot of my xfce-terminal - http://0x0.st/oBy-.png ( Which is completely transparent)
And this is the screenshot of alacritty - https://0x0.st/oByH.png

I am using i3 window manager and here is my i3 config file - http://0x0.st/oBy8.txt
I also tried to use the "picom -f" flag but nothing happened.

Last edited by RounakDutta (2022-05-31 16:10:34)

Offline

#2 2022-05-31 13:13:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,255

Re: [SOLVED] Cannot make alacritty transparent in i3

Please post your alacritty config, or maybe just look at te opacity value.
https://wiki.archlinux.org/title/Alacri … figuration

Online

#3 2022-05-31 15:10:04

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 192
Website

Re: [SOLVED] Cannot make alacritty transparent in i3

seth wrote:

Please post your alacritty config, or maybe just look at te opacity value.
https://wiki.archlinux.org/title/Alacri … figuration

I copied alacritty config files from "/usr/share/doc/alacritty/example/alacritty.yml" to "~/.config/alacritty/alacritty.yml"
Here is the link to the alacritty config file - https://paste.rs/1Kp
Everything is commented out.
I know how to set colors and themes in alacritty but how can I set it to transparent?

Last edited by RounakDutta (2022-05-31 15:10:30)

Offline

#4 2022-05-31 15:11:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,255

Re: [SOLVED] Cannot make alacritty transparent in i3

  # Background opacity
  #
  # Window opacity as a floating point number from `0.0` to `1.0`.
  # The value `0.0` is completely transparent and `1.0` is opaque.
  #opacity: 1.0

Online

#5 2022-05-31 15:19:53

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 192
Website

Re: [SOLVED] Cannot make alacritty transparent in i3

Tried to change its value and safe the file but nothing happened - https://imgur.com/a/Lv1BhCO

Offline

#6 2022-05-31 15:25:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,255

Re: [SOLVED] Cannot make alacritty transparent in i3

"Tried" how?
Did you restart alacritty (or start a new instance)?
You did uncomment it, did you?

Online

#7 2022-05-31 15:28:20

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 192
Website

Re: [SOLVED] Cannot make alacritty transparent in i3

seth wrote:

"Tried" how?
Did you restart alacritty (or start a new instance)?
You did uncomment it, did you?

Yes I uncommented the line which says

 opacity : 0.0 

Here is the ss https://imgur.com/a/TgzGRI6

Last edited by RounakDutta (2022-05-31 15:28:43)

Offline

#8 2022-05-31 15:35:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,255

Re: [SOLVED] Cannot make alacritty transparent in i3

You also need to uncomment the "window" section to provide the correct context of the option…

Online

#9 2022-05-31 16:10:03

RounakDutta
Member
From: West Bengal, India
Registered: 2022-02-11
Posts: 192
Website

Re: [SOLVED] Cannot make alacritty transparent in i3

seth wrote:

You also need to uncomment the "window" section to provide the correct context of the option…

Oh it worked!!
Thanks again
It took me a while to figure out because I have never seen a .yml file before so I set it to

window:
        opacity = 0.9

And it worked !! - https://0x0.st/oBvz.png
Marking the thread as [SOLVED]

Offline

Board footer

Powered by FluxBB