Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Rotate Background

This is a trivial utility to rotate the background images when I'm not looking. Specifically, this is done whenever my monitor falls asleep.

dpms.pl calls rot.pl whenever the monitor falls asleep. DPMS in X doesn't trigger any events, so we just probe the state every minute.

rot.pl runs a random command from a file called commands

command.pl generates the appropriate command for a jpg for a screen of my resolution (1600x1024). commands was generated by running find ./ |xargs -n1 ./command.pl>commands, and then manually adjusting the offsets for cropping.

Requires:

  • perl
  • The Perl X11::Protocol module
  • The Perl X11::Protocol::Ext::DPMS extension

This program is Copyright (c) 2002. Piotr Mitros, and is distributed under the same terms as perl itself.

About

Utility: This will rotate the background on a GNU/Linux machine when you're not looking (specifically, when the monitor goes to sleep)

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.