summaryrefslogtreecommitdiff
path: root/.old/dmenunametag
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2024-11-17 23:39:40 -0600
committerTim Keller <tjkeller.xyz>2024-11-17 23:39:40 -0600
commit08f22ad82edbe30606a8145a01ab18f2f6d71b4b (patch)
treecce5c45c996d81d131ada2f409a3c6d041b5416e /.old/dmenunametag
parent09ada24d4ec23cf24ab136141b354953d1bbc2fa (diff)
downloadscripts-08f22ad82edbe30606a8145a01ab18f2f6d71b4b.tar.xz
scripts-08f22ad82edbe30606a8145a01ab18f2f6d71b4b.zip
delete .old dir since all is still stored in version control
Diffstat (limited to '.old/dmenunametag')
-rwxr-xr-x.old/dmenunametag30
1 files changed, 0 insertions, 30 deletions
diff --git a/.old/dmenunametag b/.old/dmenunametag
deleted file mode 100755
index 0458c79..0000000
--- a/.old/dmenunametag
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-numtags=9
-rcn="Remove Current Name"
-defnames="$rcn\nCode\nCompile\nTest\nDebug\nEdit"
-while !([ $tagnum -ge 1 2>/dev/null ] && [ $tagnum -le $numtags ]); do
- tagnum=$(seq $numtags | dmenu -p "Choose tag: ")
- [ "$tagnum" = "" ] && exit
-done
-name="$(echo -n "$defnames" | dmenu -p "Rename tag $tagnum to: ")"
-[ "$name" = "$rcn" ] \
- && nametag $tagnum r \
- || nametag $tagnum n "$name"
-
-# 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')"
-
-# Old mode
-#while [ "$action" != "Rename" ] && [ "$action" != "Remove" ]; do
-# action=$(echo -n "Rename\nRemove" | dmenu -p "Would you like to rename or remove this tag $tagnum's label? ")
-# [ "$action" = "" ] && exit
-#done
-#case $action in
-# Rename)
-# name="$(echo -n "$defnames" | dmenu -p "Rename tag $tagnum to: ")"
-# [ "$name" = "" ] && exit
-# nametag $tagnum n "$name"
-# ;;
-# Remove) nametag $tagnum r ;;
-# *) exit ;;
-#esac