steve-scripts.git
2 months agoAdd --cycle option to power off then power on master
Steve McIntyre [Thu, 28 Mar 2019 18:19:36 +0000 (18:19 +0000)]
Add --cycle option to power off then power on

Refactor the on and off code into functions to make it cleaner.

4 months agoUse taint mode and don't use PATH at all
Steve McIntyre [Wed, 30 Jan 2019 15:30:19 +0000 (15:30 +0000)]
Use taint mode and don't use PATH at all

4 months agoSplit on comma and use multiple lines for output
Steve McIntyre [Wed, 30 Jan 2019 15:29:56 +0000 (15:29 +0000)]
Split on comma and use multiple lines for output

4 months agoAdd boilerplate and usage comments to watch-irssi
Steve McIntyre [Wed, 30 Jan 2019 14:48:42 +0000 (14:48 +0000)]
Add boilerplate and usage comments to watch-irssi

5 months agoScript to popup a message when somebody highlights me in irc
Steve McIntyre [Sat, 19 Jan 2019 03:10:40 +0000 (03:10 +0000)]
Script to popup a message when somebody highlights me in irc

Use wmctrl to regularly grab title bars and look for an irssi
window. If thers'a highlight and it's different from last time we
looked, run a popup.

This finally allows me to get desktop popups even when running irssi
remotely in screen \o/.

7 months agoAdd simple script to wrap aumix, ready to use by fvwm
Steve McIntyre [Tue, 20 Nov 2018 14:08:47 +0000 (14:08 +0000)]
Add simple script to wrap aumix, ready to use by fvwm

7 months agoMore logging improvements
Steve McIntyre [Wed, 14 Nov 2018 14:07:03 +0000 (14:07 +0000)]
More logging improvements

Collect together all logging output into a single function
Add option to print all command lines too

7 months agoHandle -v as well as --verbose
Steve McIntyre [Wed, 14 Nov 2018 13:02:44 +0000 (13:02 +0000)]
Handle -v as well as --verbose

7 months agoBuild complete command line in $cmd
Steve McIntyre [Wed, 14 Nov 2018 13:02:22 +0000 (13:02 +0000)]
Build complete command line in $cmd

Makes for wasier code

7 months agoBetter check - is the config file readable?
Steve McIntyre [Fri, 9 Nov 2018 00:12:38 +0000 (00:12 +0000)]
Better check - is the config file readable?

7 months agoImprove config error handling
Steve McIntyre [Fri, 9 Nov 2018 00:10:39 +0000 (00:10 +0000)]
Improve config error handling

7 months agoAdd link to useful blog article
Steve McIntyre [Fri, 9 Nov 2018 00:10:25 +0000 (00:10 +0000)]
Add link to useful blog article

7 months agoAdd simple PDU control script
Steve McIntyre [Fri, 9 Nov 2018 00:00:07 +0000 (00:00 +0000)]
Add simple PDU control script

7 months agoexclude more metadata files
Steve McIntyre [Tue, 6 Nov 2018 17:59:05 +0000 (17:59 +0000)]
exclude more metadata files

23 months agoAdd extra code to help detect mis-typed aliases
Steve McIntyre [Thu, 6 Jul 2017 23:55:58 +0000 (00:55 +0100)]
Add extra code to help detect mis-typed aliases

If I've mis-typed an alias, then it will have an outgoing address @
tack.einval.com; that should never occur otherwise If we detect that,
abort with an error message so I can fix it.

23 months agoDeal with MP3 onto USB sticks too, for the car
Steve McIntyre [Thu, 6 Jul 2017 23:55:15 +0000 (00:55 +0100)]
Deal with MP3 onto USB sticks too, for the car

2 years agoTrivial rsync wrapper for music file downloads
Steve McIntyre [Thu, 5 Jan 2017 17:45:42 +0000 (17:45 +0000)]
Trivial rsync wrapper for music file downloads

2 years agoScript to help with picking albums at random
Steve McIntyre [Thu, 5 Jan 2017 17:45:12 +0000 (17:45 +0000)]
Script to help with picking albums at random

Helpful with audacious

2 years agoUseful wrapper for dd, using pv to give progress too
Steve McIntyre [Thu, 5 Jan 2017 17:41:47 +0000 (17:41 +0000)]
Useful wrapper for dd, using pv to give progress too

2 years agoAdd timestamps to screen-lock
Steve McIntyre [Thu, 5 Jan 2017 17:41:15 +0000 (17:41 +0000)]
Add timestamps to screen-lock

2 years agoVarious mutt helper scripts
Steve McIntyre [Thu, 5 Jan 2017 17:40:54 +0000 (17:40 +0000)]
Various mutt helper scripts

2 years agoSimple script to read back and check burnt optical discs
Steve McIntyre [Thu, 5 Jan 2017 16:32:52 +0000 (16:32 +0000)]
Simple script to read back and check burnt optical discs

3 years agoAdd archive scanning program and a post-processor script
Steve McIntyre [Fri, 29 Apr 2016 21:57:48 +0000 (22:57 +0100)]
Add archive scanning program and a post-processor script

3 years agoAlways set dpi for the LVDS, otherwise it wanders
Steve McIntyre [Sun, 5 Jul 2015 22:07:45 +0000 (23:07 +0100)]
Always set dpi for the LVDS, otherwise it wanders

4 years agoForce LVDS-only to the LVDS screen size
Steve McIntyre [Sun, 15 Mar 2015 02:46:10 +0000 (02:46 +0000)]
Force LVDS-only to the LVDS screen size

4 years agoAdd boilerplate and reset for 100dpi
Steve McIntyre [Tue, 11 Nov 2014 23:00:21 +0000 (23:00 +0000)]
Add boilerplate and reset for 100dpi

4 years agoMake things much more robust
Steve McIntyre [Tue, 26 Aug 2014 08:30:09 +0000 (09:30 +0100)]
Make things much more robust

Deal with displays with modes that the LVDS can't match.
In case of xrandr not finding crtc, disable everything and fall back
to LVDS only.
Control xscreensaver better.

4 years agoworking? version of screen lock and resize script
Steve McIntyre [Tue, 26 Aug 2014 03:59:55 +0000 (04:59 +0100)]
working? version of screen lock and resize script