Skip to content

Scripts

ernesto1 edited this page May 10, 2023 · 6 revisions

launching conky from the terminal

Launcher script

This bash script provides many convenient features for executing a conky theme.
Features:

  • Launching multiple conky scripts in a directory
  • Selecting a monitor to run the conky configs on (multi monitor support)
  • Silencing conky log output
  • Making use of a layout override file to move conky windows around or prevent a specific conky from running
  • Starts any supporting services for the particular theme (package updates, java music app)

Run the $ ~/conky/monochrome/launch.bash -h command to see all the flags the script supports.

Repository package updates

dnf, the fedora package manager is periodically queried for new packages if the system is iddle. Slow machines will appreciate this, since a dnf package lookup may bring the cpu to a crawl.

n.b. dnf is specific to fedora linux. If you use a different distro, you will have to update the script to use your distro's package manager.

Now Playing Java App

This command line java application will listen to the dbus for any music player playback signals. It communicates the track currently being played with the music player conky through the use of files (see /tmp/conky/musicplayer.*).

The application is reactive, ie. it runs dormant in the background until music player activity takes place.
It currently supports the Rhythmbox and Spotify music players.

logo

Clone this wiki locally