From 17d9f82cace9cf36aa931d342acde11f8f71e0a8 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Sat, 23 Oct 2021 12:10:51 -0500 Subject: fixed nametag updateing issue in dwm and shortened griff script w/o changing it by combining line --- keyboard/dmenunametag | 2 +- sync/griff | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/keyboard/dmenunametag b/keyboard/dmenunametag index 828aca9..5d71e67 100755 --- a/keyboard/dmenunametag +++ b/keyboard/dmenunametag @@ -19,4 +19,4 @@ case $action in *) exit ;; esac # Force bar to update by setting the root name to itself since there is currently a bug in the window manager -xsetroot -name "$(xprop -root WM_NAME | sed -n 's/^WM_NAME(STRING) = \"\(.*\)\"/\1/p')" +#xsetroot -name "$(xprop -root WM_NAME | sed -n 's/^WM_NAME(STRING) = \"\(.*\)\"/\1/p')" diff --git a/sync/griff b/sync/griff index 79b55de..17ab99d 100755 --- a/sync/griff +++ b/sync/griff @@ -29,9 +29,7 @@ for repo in $repos; do git status | grep -v '(use' read -p "Would you like to view the changes? [y/n]: " viewchange case $viewchange in - y|yes|Y|Yes) - git diff HEAD $REF -- $DIR - ;; + y|yes|Y|Yes) git diff HEAD $REF -- $DIR ;; esac read -p "Would you like to push these changes? [y/n]: " pushchange case $pushchange in -- cgit v1.2.3