summaryrefslogtreecommitdiff
path: root/scripts/jdm
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-02-21 18:45:07 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-02-21 18:45:07 -0500
commita504b63dfaa23ac6ba420942f71d859630c03e0e (patch)
tree9dff1f05c408fabfa5da7dcbfc5b901f14706af9 /scripts/jdm
parentc82d20316320d8584f0a9fa1218f0e73d1fc4530 (diff)
refactor!: Unused Programs Removed
Multiple unused programs have be removed. These programs were unmaintained, no longer functioning, and/or had no purpose anymore. BREAKING CHANGE: Multiple scripts removed
Diffstat (limited to 'scripts/jdm')
-rwxr-xr-xscripts/jdm12
1 files changed, 0 insertions, 12 deletions
diff --git a/scripts/jdm b/scripts/jdm
deleted file mode 100755
index d035b6e..0000000
--- a/scripts/jdm
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-declare -i count=1 # used as a reference throughout the script
-for desktop in $XDG_DATA_HOME/xsessions/*.desktop # looks at all the desktop files in /usr/share/xsessions
-do
- name[$count]=$(grep "Name" $desktop | sed "s/Name=/$count /g") # grabs the name and adds it to an array
- program[$count]=$(grep "Exec" $desktop | sed "s/Exec=//g") # grabs the path of the executable and adds it to an array
- count=$((count+1))
-done
-name[$count]="$count TTY" # adds an option for TTY
-select=$(dialog --title "Jacob's Display Manager" --menu "Select a WM:" 0 0 0 ${name[*]} 3>&1 1>&2 2>&3 3>&-) # creates the menu box
-[ "$select" != "$count" ] && [ "$select" != "0" ] && export wm=${program[$select]} && startx # startx if TTY is not selected
-clear && cat /etc/motd # clears the ncurses prompt after executing and cat the message of the day file