You are not logged in.

#1 2018-12-30 19:53:58

loutch
Member
Registered: 2015-12-12
Posts: 346

conky with 2 different execbar

Hello

is that possible to have in a conky different size bar example

" execbar expr 100 \* $(audtool --current-song-output-length-seconds) \/ $(audtool --current-song-length-seconds)" who have the default size giving in conky config

& a other execbar more little with his own measures.

My defaut_size_bar is 170 3  & i would for the new bar 40 2 i try this but doesn't work

${execbar 2, 40 amixer sget Master | sed -n 's/\([0-9]\+\)\(%.*off\)/0\2/;s/.*\[\([0-9]\+\)%.*/\1/;$p'}

@+


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#2 2018-12-31 10:21:09

unklar
Member
Registered: 2015-10-31
Posts: 914

Re: conky with 2 different execbar

Bonjour loutch,

Tu l'as à l'envers.

${execbar 40, 2...

Offline

#3 2018-12-31 14:31:58

loutch
Member
Registered: 2015-12-12
Posts: 346

Re: conky with 2 different execbar

hello

don't work the bar is with the default size no changing with 2,40 or 40,2


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#4 2018-12-31 23:45:57

unklar
Member
Registered: 2015-10-31
Posts: 914

Re: conky with 2 different execbar

Je viens de tester ça, ça marche.
2019-01-01-00-42-48_scrot.th.png

votre ligne de code   smile

Offline

#5 2019-01-01 09:28:14

loutch
Member
Registered: 2015-12-12
Posts: 346

Re: conky with 2 different execbar

hello

Guten rutch im neues Jahr

hier code

${color ff8000}${execbar amixer sget Master | sed -n 's/\([0-9]\+\)\(%.*off\)/0\2/;s/.*\[\([0-9]\+\)%.*/\1/;$p'}\
${color 000000}${execbar echo 0}$color

default_bar_size ist 170 3 im conky config


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

#6 2019-01-01 10:27:22

unklar
Member
Registered: 2015-10-31
Posts: 914

Re: conky with 2 different execbar

une bonne année à toi aussi.   smile

2019-01-01-11-13-06_scrot.th.png 2019-01-01-11-15-21_scrot.th.png

Offline

#7 2019-01-01 17:07:12

loutch
Member
Registered: 2015-12-12
Posts: 346

Re: conky with 2 different execbar

Hello

lauft gut in mageia7 & conky 1.10 in mageia 5 & kde giebt es  nicht

Ist nuch fur conky keine grosse schad when es nicht geht


@+


Linuxmint 19.1 Tessa cinnamon & mageia 7 mate on ssd hp pavilion g7
Xubuntu 18.04 lts & 19.04 xfce on ASUS Rog STRIX

Offline

Board footer

Powered by FluxBB