summaryrefslogtreecommitdiff
path: root/dmenuumount
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2025-07-15 17:56:01 -0500
committerzachir <zachir@librem.one>2025-07-15 17:56:01 -0500
commit02446ea71c3a37dca44316ed42b00e22692e34b9 (patch)
tree7f1f4c1d24f1a5d41801b84c0bc0e826c9262515 /dmenuumount
parentc9d939e8e9d7845233820952276178c24a5914cf (diff)
Replace all menus with dmenu
Diffstat (limited to 'dmenuumount')
-rwxr-xr-xdmenuumount12
1 files changed, 2 insertions, 10 deletions
diff --git a/dmenuumount b/dmenuumount
index 6dc25e2..b8da40b 100755
--- a/dmenuumount
+++ b/dmenuumount
@@ -13,16 +13,8 @@ while getopts "hd:" o; do case "${o}" in
*) printhelp ;;
esac done
-if [ -n "$WAYLAND_DISPLAY" ]; then
- DMENU="tofi"
- DEFARGS="-c $HOME/.config/tofi/themes/dmenu_vertical --prompt-text"
-elif [ -n "$DISPLAY" ]; then
- DMENU="dmenu"
- DEFARGS="-l 15 -p"
-else
- print "Can't tell if Wayland or X; what gives?\n"
- exit 1
-fi
+DMENU="dmenu"
+DEFARGS="-l 15 -p"
unmountusb() {
[ -z "$drives" ] && exit