You are not logged in.
I want to put the conky output (like dwm do) on tmux when I'm not on a X session.
Now i have this in my .xinitrc for dwm
conky -d | while read -r; do xsetroot -name "$REPLY"; done &
The only way a think it's possible is to put this on a init script
conky -d | while read -r; do xsetroot -name "$REPLY" && echo "$REPLY" > conky.out; done &
And set this statusbar on tmux:
set-option -g status-interval 5
set-option -g status-right "#(cat ~/.conky.out)"
This way it works, but I don't think writing/reading from de HDD every 5 second is a good idea...
Any suggestions?
Offline
I want to put the conky output (like dwm do) on tmux when I'm not on a X session.
Now i have this in my .xinitrc for dwmconky -d | while read -r; do xsetroot -name "$REPLY"; done &
The only way a think it's possible is to put this on a init script
conky -d | while read -r; do xsetroot -name "$REPLY" && echo "$REPLY" > conky.out; done &
And set this statusbar on tmux:
set-option -g status-interval 5 set-option -g status-right "#(cat ~/.conky.out)"
This way it works, but I don't think writing/reading from de HDD every 5 second is a good idea...
Any suggestions?
Have you considered using the "-i" option? Something like this might work in your .tmux.conf:
set-option -g status-right "#(conky -i 1)"
Offline
This supossed to have 2 conky procces running..
Thanks for the reply!
Offline