• Stars
    star
    250
  • Rank 162,397 (Top 4 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A decent way to change your desktop image

Desktop

A decent way to change your desktop image.

Since the introduction of Spaces in Mac OS X, changing the desktop image has been a chore for those of us who enjoy the same image on all spaces and monitors; each has its own image that must be updated individually. Lucky for you, a recent breakthrough in technology had made changing your desktop drag-n-drop easy.

desktop lets us update the desktop image on every space and monitor at the same time from the command line.

Installation

desktop can be installed from RubyGems.

$ gem install desktop

Usage

Usage can be seen from the command line:

$ desktop help
Commands:
  desktop help [COMMAND]  # Describe available commands or one specific command
  desktop set IMAGE_PATH  # Set all desktops to the image at IMAGE_PATH
  desktop version         # Show gem version

Desktop images can be set using a file path:

$ desktop set /path/to/image.jpg

Or a web URL:

$ desktop set http://desktops.amazing/image.jpg

The set command is optional:

$ desktop /path/to/image.jpg

Usage in your awesome app

Want to include the features of desktop in your awesome app? Please do!

Add the gem to your Gemfile:

gem 'desktop'

Require the library:

require 'desktop'

And use the same CLI interface that you already know:

Desktop::CLI.start %w[set path/to/image.jpg]

Where can I get desktops?

Simple Desktops - A collection of wallpapers curated by Tom Watson designed to make your computer beautiful without distraction.

Vladstudio - The project of Russian digital artist Vlad Gerasimov. He creates wallpapers for computers and mobile devices.

Contributing

Please see the Contributing Document

Changelog

Please see the Changelog Document

License

Copyright (C) 2014 Chris Hunt, MIT License

More Repositories

1

git-pissed

gitting pissed about your code
HTML
835
star
2

dot-files

Dot-files for Linux, Mac OS X, Windows
Vim Script
603
star
3

github-auth

SSH key management for GitHub users
Ruby
384
star
4

color-schemes

Color schemes I've used for an extended period of time and like
Vim Script
239
star
5

favcount

Enhance your useless favicon with FavCount technology
JavaScript
183
star
6

rubiks-cube

Solve your Rubik's Cube with an easy two-cycle solution
Ruby
128
star
7

negfix8

Automate the process of scanning negative film
Shell
56
star
8

marked

Themes for Marked, the best live markdown previewer on Mac OS.
CSS
21
star
9

hi

hi, I'm here to debug your HTTP
Ruby
20
star
10

healthyhacker

Welcome to the Healthy Hacker where we talk about programming, puzzles, memory, fitness, diet, and everything else that you, a healthy hacker, find interesting.
JavaScript
16
star
11

tree

Example binary search tree implementation in Java
Java
13
star
12

cards

Memorize a shuffled deck of playing cards
CSS
12
star
13

snoop

Snoop on content, be notified when it changes.
Ruby
8
star
14

alfred

Alfred Workflows
Ruby
6
star
15

exercises

You have one hour to complete this exercise.
Ruby
6
star
16

status-board

Your very own status board API
Ruby
6
star
17

mute

Muting test suites since 2014
Ruby
5
star
18

practice-problems

Fun practice problems
Ruby
4
star
19

zw2fit

Convert zwo workouts to ANT+ FIT
Ruby
4
star
20

gorbypuff

gorbypuff.cat
JavaScript
3
star
21

cane-hashcheck

Create Cane violations for pre-Ruby 1.9 hash syntax
Ruby
3
star
22

helpme

Help me figure this out
Ruby
3
star
23

parse-tree

Example tab tree parser for #ruby on FreeNode
Ruby
2
star
24

maze

Depth-first maze generation
Ruby
2
star
25

wod

workout of the day
JavaScript
2
star
26

chrishunt.github.com

chrishunt.co
JavaScript
2
star
27

latex-makefile

Makefile for LaTex documents.
2
star
28

cube-timer

Rubik's Cube Timer: Generate scrambles and take averages
Ruby
1
star
29

diffie-chat

Diffieโ€“Hellman key exchange
Java
1
star
30

euler

Project Euler
Ruby
1
star
31

roster-runner

Code replacements for fast sports captioning - rosterrunner.com
Ruby
1
star
32

some-skillz

You need to gem install some_skills
Ruby
1
star
33

tortoise

Tortoise is a Logo interpreter for ruby
Ruby
1
star
34

memory

Remember that time you memorized a shuffled deck of cards?
CSS
1
star
35

follower

Keep track of who starts and stops following you on Twitter
Ruby
1
star