From 3264693663f000034c1a9266ab54b1d49c3707e7 Mon Sep 17 00:00:00 2001 From: yage Date: Fri, 21 Feb 2025 15:59:14 -0700 Subject: [PATCH] gitconfig update; fix a case statement in dotwrynscwrypts --- config/user/git/config | 7 +++++++ .../dotwryn/desktop/xorg/i3/launch-or-show | 20 +++++++++---------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/config/user/git/config b/config/user/git/config index 4293cfb..4279fee 100644 --- a/config/user/git/config +++ b/config/user/git/config @@ -45,6 +45,13 @@ [gpg "ssh"] program = /opt/1Password/op-ssh-sign + allowedSignersFile = /home/w0ryn/.ssh/allowed_signers [commit] gpgsign = true + +[tag] + gpgsign = true + +[format] + signoff = true diff --git a/scwrypts/dotwryn/desktop/xorg/i3/launch-or-show b/scwrypts/dotwryn/desktop/xorg/i3/launch-or-show index 748260f..fa012fe 100755 --- a/scwrypts/dotwryn/desktop/xorg/i3/launch-or-show +++ b/scwrypts/dotwryn/desktop/xorg/i3/launch-or-show @@ -55,20 +55,20 @@ MAIN() { while [[ $# -gt 0 ]] do case $1 in - -c | --client ) CLIENT_CLASS="$2"; shift 1 ;; - -x | --x-offset ) XFFSET=$2; shift 1 ;; - -y | --y-offset ) YFFSET=$2; shift 1 ;; - -s | --scale ) SCALE=$2; shift 1 ;; + ( -c | --client ) CLIENT_CLASS="$2"; shift 1 ;; + ( -x | --x-offset ) XFFSET=$2; shift 1 ;; + ( -y | --y-offset ) YFFSET=$2; shift 1 ;; + ( -s | --scale ) SCALE=$2; shift 1 ;; - -a | --always-launch ) ALWAYS_LAUNCH=1 ;; - -n | --no-resize ) RESIZE=0 ;; - -l | --no-center ) MOVE=0 ;; + ( -a | --always-launch ) ALWAYS_LAUNCH=1 ;; + ( -n | --no-resize ) RESIZE=0 ;; + ( -l | --no-center ) MOVE=0 ;; - --has-statusbar-icon ) MIN_ACTIVE=2 ;; + ( --has-statusbar-icon ) MIN_ACTIVE=2 ;; - -h | --help ) USAGE; exit 0 ;; + ( -h | --help ) USAGE; exit 0 ;; - * ) + ( * ) [ ! $APPLICATION ] && APPLICATION="$1" \ || ERROR "extra positional argument '$1'" esac