You are not logged in.

#1 2017-06-13 11:45:11

Steve
Member
Registered: 2017-01-03
Posts: 642

[Solved] Conky started from OB menu entry

I want to create a conky that can be started from the obmenu but im not sure how to go about this, i want to create a decorated vnstat conky and have it start from obmenu, could this be done?

My search skills and scripting skills are not good enough to find this out for myself. I apologise if this topic may have been covered before somewhere.

Im pretty sure i would need to create a bash script of some sort and invoke it as a menu option similar to BL conky chooser.

Cheers
Steve

Last edited by Steve (2017-06-13 12:29:17)

Offline

#2 2017-06-13 11:53:49

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: [Solved] Conky started from OB menu entry

Doh, nevermind i figured it out.

Simple as this.

#!/bin/bash

conky -c /home/sc/conkyrc.myconky

Then make it executable and add it to the menu as an executable.

Havent created the vnstat conky yet but will post it up when i do.

wink

Last edited by Steve (2017-06-13 11:55:22)

Offline

#3 2017-06-13 12:22:16

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,271
Website

Re: [Solved] Conky started from OB menu entry

Then mark the thread [SOLVED]. Glad you've fixed yourself.


Tumbleweed (Server) | KDE Plasma (Wayland)

Offline

#4 2017-06-13 17:14:08

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [Solved] Conky started from OB menu entry

You can add the command directly to menu.rc, with no need for an intermediate script.

<item label="Conky">
	<action name="Execute">
		<command>conky -c /path/to/conkyrc</command>
	</action>
</item>

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2017-06-14 09:46:12

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: [Solved] Conky started from OB menu entry

^^ I knew it had to be even simpler, i have a habit of over complicating at times. Cheers

Offline

Board footer

Powered by FluxBB