diff options
| -rw-r--r-- | speakerWatchdog.sh | 12 | ||||
| -rw-r--r-- | thisMonth.sh | 20 |
2 files changed, 32 insertions, 0 deletions
diff --git a/speakerWatchdog.sh b/speakerWatchdog.sh new file mode 100644 index 0000000..344955f --- /dev/null +++ b/speakerWatchdog.sh @@ -0,0 +1,12 @@ +#! /bin/bash +# Workaround for stupd 'powersave' 'feature' of Creative Speakers +# +# SJP 11 Dec 2021 +# +# This is just a stub for now + +# Which device is the audio output going to? + +# st33v@cr4y:~$ grep RUNNING /proc/asound/card*/pcm*/sub*/status +# /proc/asound/card2/pcm0p/sub0/status:state: RUNNING + diff --git a/thisMonth.sh b/thisMonth.sh new file mode 100644 index 0000000..17a6f86 --- /dev/null +++ b/thisMonth.sh @@ -0,0 +1,20 @@ +#!/usr/bin/bash +# +# SJP 14 Jan 2022 +# +# Once per month, update my 'nowX' softlinks. +# +# Background +# In my home directory, I have some lymlinks that point to my 'current' working directories. +# I have two main ones: +# 1) Year-delimited for most documents and projects +# '.../dropbox/... .../life/YYYY/<files|directories>' +# +# 2) Month-delimited for images and soundfiles +# '.../pix/YYYY/MM/<files|directories>' +# +# I would like to automate changes to the symlinks to relieve the +# 'burden' of changing them annually/monthly. +# At the moment I just point 'nowpix' to the current year and then navigate to the monthly directory. +# +# TODO: actual code, timer and service... |
