Over a million developers have joined DZone.

Linux - Random BG Enligthnment

·

import os
import random

listBG = os.popen('eesh background list').readlines()[:-5]
elemBG = random.choice(listBG)
os.popen('eesh background use ' + elemBG[:-2])
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}