December 18, 2015
December 11, 2015
The 17 Standard CSS Color Names
The 17 standard colors are: aqua, black, blue, fuchsia, gray, grey, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.
Color Name | HEX | Color |
---|---|---|
Aqua | #00FFFF | |
Black | #000000 | |
Blue | #0000FF | |
Fuchsia | #FF00FF | |
Gray | #808080 | |
Grey | #808080 | |
Green | #008000 | |
Lime | #00FF00 | |
Maroon | #800000 | |
Navy | #000080 | |
Olive | #808000 | |
Purple | #800080 | |
Red | #FF0000 | |
Silver | #C0C0C0 | |
Teal | #008080 | |
White | #FFFFFF | |
Yellow | #FFFF00 |
December 4, 2015
A Gnome 3 Script to Change Your Desktop's Wallpaper Every 5 Minutes
This is a Gnome 3 script to change your desktop's wallpaper every 5 minutes.
Copy this script to your ${HOME}/bin directory. Remember to make this script eXecutable.
Create a wallpaper directory in your Pictures directory and add your pictures.
Add the line "*/5 * * * * ${HOME}/bin/wallpaper.sh" to your crontab. It is set to run every 5 minutes. Enjoy!
#! /bin/bash
# crontab: run every 5 minutes
# MIN HR DOM MON DOW CMD
# */5 * * * * ${HOME}/bin/wallpaper.sh
DIR=${HOME}/Pictures/wallpaper
file_list=(${DIR}/*)
X=$[ $RANDOM % ${#file_list[@]} ]
DISPLAY=:0 gsettings set org.gnome.desktop.background picture-uri file://${file_list[${X}]}
The script is free, but explanations will cost extra.
Subscribe to:
Posts (Atom)