#!/bin/bash
########################################################
#               Mate Random Background                 #   
# Simple gui to change backgrounds in timed intervals  # 
#------------------------------------------------------#
#       © 2022 WTFPL   lxgator@gmail.com     	       #
########################################################

export 'MAIN_DIALOG=
<window window_position="3" title="Random Background 1.2" resizable="false" icon-name="random-background">
<vbox spacing="10">
<frame '$"Info"'>
<hbox spacing="10" homogeneous="true" >
<pixmap>
<input file>/usr/share/icons/hicolor/48x48/apps/random-background.png</input>
</pixmap>
</hbox>
<hbox spacing="10" homogeneous="true" >
<text use-markup="true">
<label>"'$"Random Background changes background images from selected intervals placed in the ~/Wallpapers folder. 

Stop the background images just right click the notification icon menu.
 
                  © 2022 WTFPL lxgator@gmail.com"'"</label>
</text>
</hbox>
</frame>
<hbox start="true">
<button>
<label>"'$" Quit "'"</label>
<input file icon="gtk-quit"></input>
<action type="exit">#</action>
</button>
</hbox>
</vbox>
</window>'

gtkdialog --center --program=MAIN_DIALOG


