You are not logged in.

#1 2009-07-31 15:54:42

geoisis
Member
From: greece
Registered: 2007-09-02
Posts: 100
Website

dzen2 and transperacy

how can i make dzen2 transparent ?
i'm using to change my oss volume levels, but i thought it'd be nice to have it in transparent, rather that a black thingy smile

thanx


Archlinux x86_64 | post-engineering | last.fm

Offline

#2 2009-07-31 16:05:37

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: dzen2 and transperacy

dzen2 does not have a transparency feature.

I've experimented with it a bit in the past. Please look half down page after transset: http://bbs.archlinux.org/viewtopic.php?id=55673

Here's the example:

echo "Arch is the best" | dzen2 -fg "black" -bg "lightblue" -w 230 -p -e & transset .3 & sleep 1 ; xdotool mousemove 5 5 ; xdotool click 1

Looking at it now I'm thinking that Devilspie might be used instead and with a better result.

Offline

#3 2009-07-31 16:18:42

geoisis
Member
From: greece
Registered: 2007-09-02
Posts: 100
Website

Re: dzen2 and transperacy

thanx for the quick reply @Ashren smile i'll look into it.

expand yout thoughts please about Devilspie smile.


Archlinux x86_64 | post-engineering | last.fm

Offline

#4 2009-07-31 17:51:09

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: dzen2 and transperacy

Well, what I'm thinking is using the "-title-name" switch for dzen2 with devilspie. Here is what I have, which doesn't work:

echo 'Hello' | dzen2 -title-name volume -p -bg 'blue'

The dzen2volume.ds file:

(if
    (is (window_name) "volume")
    (begin
       (opacity 70)
    )
)

Did I say that it doesn't work? smile

Well, I'm trying to figure out using s-expressions. Still some fiddling left I guess.

Read more here:

http://foosel.org/linux/devilspie#devil_s_pie

Last edited by Ashren (2009-07-31 17:51:24)

Offline

#5 2013-11-10 11:54:36

blasgf
Member
Registered: 2013-11-10
Posts: 1

Re: dzen2 and transperacy

wink

 (echo "archlinux rules" | dzen2 -title-name title -p 5 -fg yellow -bg blue &) && sleep .01s && transset-df -n title 0.5 

Last edited by blasgf (2013-11-10 11:57:39)

Offline

#6 2013-11-10 14:47:14

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: dzen2 and transperacy

Thanks blasgf and welcome to the forums. Please see our rules on old threads. Closing.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB