diff options
author | awy <awy@awy.one> | 2025-08-14 05:46:25 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-08-14 05:46:25 +0300 |
commit | 222fe9a9ffc5430ea28173f01482f30b26f22648 (patch) | |
tree | d11094fe10c854cd23dfa5f49850e1facfefe116 /.local/bin/dmenumountcifs | |
parent | 9e12eb5b61daa6fc864301893bc6242614777d76 (diff) | |
download | hyprdots-222fe9a9ffc5430ea28173f01482f30b26f22648.tar.gz |
update
Diffstat (limited to '.local/bin/dmenumountcifs')
-rwxr-xr-x | .local/bin/dmenumountcifs | 6 |
1 files changed, 3 insertions, 3 deletions
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" |