summary refs log tree commit diff
path: root/.local/bin
diff options
context:
space:
mode:
authorZach DeCook <zach.decook@bettercarpeople.com>2026-07-31 13:14:53 -0400
committerZach DeCook <zach.decook@bettercarpeople.com>2026-07-31 13:14:53 -0400
commitab3b79c488ba7cebfd42ce614590247e9428b32a (patch)
treec35c75101cbb112e9708812485e591fe3ce51016 /.local/bin
parent3374a3981538c0615ebfe36fc55a408f18d2bd17 (diff)
downloaddotfiles-ab3b79c488ba7cebfd42ce614590247e9428b32a.tar.gz
improve dotfiles
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/emojis.sh1
-rwxr-xr-x.local/bin/gnome-terminal-newtab9
-rwxr-xr-x.local/bin/jira-CR.php2
3 files changed, 7 insertions, 5 deletions
diff --git a/.local/bin/emojis.sh b/.local/bin/emojis.sh
index 5954b33..d630f3e 100755
--- a/.local/bin/emojis.sh
+++ b/.local/bin/emojis.sh
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 # http://www.unicode.org/Public/emoji/14.0/emoji-test.txt
+# http://www.unicode.org/Public/emoji/16.0/emoji-test.txt
 # alpine package unicode-character-database installs this here:
 # title="😀 Emoji Input"
 input=/usr/share/unicode/emoji/emoji-test.txt
diff --git a/.local/bin/gnome-terminal-newtab b/.local/bin/gnome-terminal-newtab
index 79c3a83..a45da9a 100755
--- a/.local/bin/gnome-terminal-newtab
+++ b/.local/bin/gnome-terminal-newtab
@@ -1,13 +1,14 @@
 #!/bin/sh
 
 # We need to set these for it to work
-# TODO: get these from the environment somehow...
-export GNOME_TERMINAL_SERVICE=:1.222
 # specific tab that is focused
 #export GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/2fabbbb8_c971_4140_a182_64474ffb18c5
-export GNOME_TERMINAL_SCREEN="$(busctl --user tree  org.gnome.Terminal | grep -o '/org/gnome/Terminal/screen/.*$' | head -n1)"
+screen="$(busctl --user tree  org.gnome.Terminal | grep -o '/org/gnome/Terminal/screen/.*$' | head -n1)"
+if test "$screen"; then
+    export GNOME_TERMINAL_SCREEN="$screen"
+    export GNOME_TERMINAL_SERVICE="$(busctl --user status  org.gnome.Terminal | grep UniqueName | cut -d= -f2)"
+fi
 
-#echo DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" >> /tmp/terminal-newtab.log
 echo GNOME_TERMINAL_SCREEN="$GNOME_TERMINAL_SCREEN" >> /tmp/terminal-newtab.log
 echo GNOME_TERMINAL_SERVICE="$GNOME_TERMINAL_SERVICE" >> /tmp/terminal-newtab.log
 echo "$@" "\n" >> /tmp/terminal-newtab.log
diff --git a/.local/bin/jira-CR.php b/.local/bin/jira-CR.php
index 6e665ea..88b91da 100755
--- a/.local/bin/jira-CR.php
+++ b/.local/bin/jira-CR.php
@@ -250,7 +250,7 @@ foreach ($prs_json as $pr) {
         file_put_contents("/tmp/jira-CR.html", $html, FILE_APPEND);
     }
 }
-[$tickets, $ticketLabels] = get_jira(['Pending Sign Off', 'Signed Off']);
+[$tickets, $ticketLabels] = get_jira(['Pending Sign Off', 'Signed Off', 'Ready To Deploy']);
 echo "\n";
 foreach ($prs_json as $pr) {
     [$terminal, $html] = process_pr($pr, $tickets, $ticketLabels, true);