Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Piping conky to dwm status bar
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Comfortably Dumb
n00b
n00b


Joined: 30 Aug 2013
Posts: 8

PostPosted: Mon Sep 02, 2013 1:01 am    Post subject: [SOLVED] Piping conky to dwm status bar Reply with quote

Hello all,

I got gentoo successfully installed, dual booted, and X working thanks to some good advice here from the gentoo forums. I have installed dwm and gotten it somewhat configured and am using rxvt which is nice, but the question that I have is:

1) how do I pipe conky to the status bar up at the top for dwm? All it says in the upper right hand corner is dwm-6.0. It seems like any directions that I have followed in the past have come up empty so I must be missing something.

Any tips or suggestions would be appreciated.

Thanks.
_________________
I have become...Comfortably Dumb...


Last edited by Comfortably Dumb on Mon Sep 02, 2013 2:27 am; edited 1 time in total
Back to top
View user's profile Send private message
ibrunton
n00b
n00b


Joined: 15 Jul 2013
Posts: 18
Location: Canada

PostPosted: Mon Sep 02, 2013 2:07 am    Post subject: Reply with quote

DWM reads the title of the root window and uses that for the status bar text; so to get conky information in the status bar, you have to put that information in the root window title.

From https://wiki.archlinux.org/index.php/Dwm#Conky_statusbar:
Put this in your ~/.xinitrc file:
Code:
conky | while read -r; do xsetroot -name "$REPLY"; done &
exec dwm

_________________
github
Back to top
View user's profile Send private message
Comfortably Dumb
n00b
n00b


Joined: 30 Aug 2013
Posts: 8

PostPosted: Mon Sep 02, 2013 2:15 am    Post subject: Reply with quote

ibrunton wrote:
DWM reads the title of the root window and uses that for the status bar text; so to get conky information in the status bar, you have to put that information in the root window title.

From https://wiki.archlinux.org/index.php/Dwm#Conky_statusbar:
Put this in your ~/.xinitrc file:
Code:
conky | while read -r; do xsetroot -name "$REPLY"; done &
exec dwm


Thank you for that information. I will read that and see what I get. Thanks again.

Edited to add: That worked! Thanks for the info on that. I am going to tweek it some and adjust it to my liking now.
_________________
I have become...Comfortably Dumb...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum