From 222fe9a9ffc5430ea28173f01482f30b26f22648 Mon Sep 17 00:00:00 2001 From: awy Date: Thu, 14 Aug 2025 05:46:25 +0300 Subject: update --- .local/bin/dmenumountcifs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin/dmenumountcifs') diff --git a/.local/bin/dmenumountcifs b/.local/bin/dmenumountcifs index 4b0590b..4832213 100755 --- a/.local/bin/dmenumountcifs +++ b/.local/bin/dmenumountcifs @@ -1,12 +1,12 @@ #!/bin/sh -# Gives a rofi -dmenu prompt to mount unmounted local NAS shares for read/write. +# Gives a mew prompt to mount unmounted local NAS shares for read/write. # Requirements - "%wheel ALL=(ALL) NOPASSWD: ALL" # # Browse for mDNS/DNS-SD services using the Avahi daemon... -srvname=$(avahi-browse _smb._tcp -t | awk '{print $4}' | rofi -dmenu -i -p "Which NAS?") || exit 1 +srvname=$(avahi-browse _smb._tcp -t | awk '{print $4}' | mew -i -p "Which NAS?") || exit 1 notify-send "Searching for network shares..." "Please wait..." # Choose share disk... -share=$(smbclient -L "$srvname" -N | rg Disk | awk '{print $1}' | rofi -dmenu -i -p "Mount which share?") || exit 1 +share=$(smbclient -L "$srvname" -N | rg Disk | awk '{print $1}' | mew -i -p "Mount which share?") || exit 1 # Format URL... share2mnt=//"$srvname".local/"$share" -- cgit v1.2.3