Open mrsteve0924 opened 1 year ago
transparent background example, take a look at t2.config. you would need to set semi transparent background on the main bar window and transparent backgrounds on widgets
On Sat, 17 Jun 2023, 23:19 callmejoe, @.***> wrote:
trying to get a semi-transparent taskbar background. i thought this would work but it's not. any suggestions? thanks
button#taskbar_normal { background-color: rgba(0.033,0.041,0.047,0.5); } button#taskbar_active, button#taskbar_normal:hover { outline-style: none; box-shadow: none; background-image: none; border-radius: 3px; border-image: none; border-width: 0px; -GtkWidget-hexpand: false; }
— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/101, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFE2UYYTQH5K4GJVA3TXLYNNFANCNFSM6AAAAAAZKON7IY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@LBCrion thanks for that. i got the bar transparent with
window {
background-color: rgba(0.033,0.041,0.047,0.5);
}
But I cant figure out how to get the launcher buttons background also trannsparent
i've tried adding background: none
in button#module
and button#launcher
and I tried adding few things to launcher button { ...
but nothing works
Would you mind posting your config?
On Mon, 19 Jun 2023, 04:17 callmejoe, @.***> wrote:
@LBCrion https://github.com/LBCrion thanks for that. i got the bar transparent with
window { background-color: rgba(0.033,0.041,0.047,0.5); }
But I cant figure out how to get the launcher buttons background also trannsparent i've tried adding background: none in button#module and button#launcher and I tried adding few things to launcher button { ...
but nothing works
— Reply to this email directly, view it on GitHub https://github.com/LBCrion/sfwbar/issues/101#issuecomment-1596386854, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHPFFCJR2LHMQ4LAAVLDP3XL6ZDJANCNFSM6AAAAAAZKON7IY . You are receiving this because you were mentioned.Message ID: @.***>
@LBCrion here is the config. thanks
EDIT: I was able to get the launchers' backgrounds removed by setting style = "launcher"
and adding background: none
to button#launcher
i dont think it makes the launcher transparent though but it's better.
I cant do the same for the tray icons; pulse-module
and network-module
. i added background: none
to button#module
but that doesnt seem to work
There is a typo in the button#module CSS section margin: 0px;0
, if you remove zero at the end, module buttons should become transparent. Both launchers and modules (with the above change) are transparent, but they are displayed over the bar itself, so if the bar is translucent, you should have the same degree of translucency for the empty space and the button background. Also, if the icons you're using don't have transparent background, they will be rendered with their own background, since it's part of the image.
One other thing to note, you currently include "winops.widget" from within layout section, since winops.widget doesn't have any widgets associated with it, just functions, it triggers some warnings on startup. If you include it from outside of the layout section, the warnings will go away. There shouldn't be any impact on functionality either way.
thanks for the reply. i fixed the typo and that removed the backgrounds from the tray icons. I see now that my launcher icons do not have transparent backgrounds so i'll have to work on that.
and moving that winops.widget got rid of that annoying warning. thanks. i couldnt figure out where that was coming from.
trying to get a semi-transparent taskbar background. i thought this would work but it's not. any suggestions? thanks
i should mention i am using wayfire