diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2025-08-01 07:59:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2025-08-01 07:59:27 -0300 |
commit | 3720127cc7846928ea56b9bbb57d028db5533e37 (patch) | |
tree | d3b950addd8888a2c3f9556794c127ebae1b945d | |
parent | 9793d32d10becaceeb52169a280a747b773c0b45 (diff) | |
download | utils-x11-3720127cc7846928ea56b9bbb57d028db5533e37.tar.gz utils-x11-3720127cc7846928ea56b9bbb57d028db5533e37.tar.bz2 |
Adds ratpoisoner
-rwxr-xr-x | ratpoisoner | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ratpoisoner b/ratpoisoner new file mode 100755 index 0000000..1220aa9 --- /dev/null +++ b/ratpoisoner @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +# +# Ratpoison window manager utility. +# + +# Parameters +BASENAME="`basename $0`" +ACTION="$1" + +# Dispatch +if [ -z "$ACTION" ]; then + echo "usage: $BASENAME <action>" + exit 1 +elif [ "$ACTION" == "custom" ]; then + # Sources a custom ratpoisonrc file, if present + if [ -e "$HOME/.custom/ratpoisonrc" ]; then + ratpoison -c "source $HOME/.custom/ratpoisonrc" + fi +fi |