View previous topic :: View next topic |
Author |
Message |
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Sat Jul 26, 2014 10:23 pm Post subject: dzen2 script behaving strangely (almost solved) |
|
|
Before I installed gentoo I was running crunchbang with debian testing repos. I was using this script on crunchbang and it was working as expected[/bug] Code: | #!/bin/sh
exec conky -d -c "$HOME/bin/conkyrc_cli" | dzen2 -fn
Hermit-light-9.5 -bg "#333333" -ta left -w 730 -x 71 -y 750 &
exit 0
|
and here's the conky setup in reference
Code: | # Conky configuration for Dzen2, to be piped into i3bar
##############################################
# Settings
##############################################
background no
out_to_x no
out_to_console yes
update_interval 1.0
total_run_times 0
use_spacer none
TEXT
^fg(\#6699cc)Processor^fg()^fg(green)${cpu cpu0}.00%^fg()^fg(white)|^fg(\#6699cc)Memory^fg()^fg(green)${memperc}.00%^fg()^fg(white)|^fg(\#6699cc)Root^fg()^fg(green)${fs_used_perc /}.00%^fg()^fg(white)|^fg(\#6699cc)Home^fg()^fg(green)${fs_used_perc /home}.00%^fg()^fg(white)|^fg(\#6699cc)Temperature^fg(green)${hwmon temp 1}'C^fg(white)|^fg(\#6699cc)Dn^fg(\#6699cc)^fg(green)${downspeedf wlan0}KiB^fg()^fg(white)|^fg(\#6699cc)U^fg()^fg(green)${upspeedf wlan0}KiB^fg()^fg(white)|^fg(\#6699cc)Bat^fg(green)${battery_short} ${battery_time}
|
It is supposed to cling to the bottom of i3 at the same level of the workspaces next to them. For some reason instead of doing that it flies to the top middle of my screen.
Last edited by MarioMaster100 on Mon Jul 28, 2014 1:31 am; edited 2 times in total |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Mon Jul 28, 2014 12:17 am Post subject: |
|
|
I ran Code: | echo "This is a message"|dzen2 -fn Hermit-light-9.5 -bg "#333333" -ta left -w 730 -x -71 -y 750 -p | and it displayed at the bottom precisely as I wanted but if I run the dzen2 script I first posted to display the conky info it places the dzen2 bar directly on top of the screen ?_? |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Mon Jul 28, 2014 1:06 am Post subject: |
|
|
Apparently taking off the -d part in the conky section makes it work. |
|
Back to top |
|
|
MarioMaster100 Tux's lil' helper
Joined: 25 Jul 2014 Posts: 86
|
Posted: Mon Jul 28, 2014 1:32 am Post subject: |
|
|
Very peculiar, if I add the working line Code: | conky -c "$HOME/bin/conkyrc_cli"|dzen2 -fn LiberationSans-Regular-12.3 -bg "#333333" -ta left -w 800 -x 71 -y 750 | in a script it clings to the top of the screen. If I run it in a terminal it works right.[/bug] |
|
Back to top |
|
|
|