This commit is contained in:
Luke Smith 2019-06-01 10:53:34 -04:00
parent 6b334b59fc
commit 9391af624c
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
3 changed files with 13 additions and 9 deletions

View file

@ -1,9 +1,8 @@
#!/bin/sh #!/bin/sh
# A UI for detecting and selecting all displays. # A UI for detecting and selecting all displays. Probes xrandr for connected
# Probes xrandr for connected displays and lets user select one to use. # displays and lets user select one to use. User may also select "manual
# User may also select "manual selection" which opens arandr. # selection" which opens arandr.
# I plan on adding a routine from multi-monitor setups later.
twoscreen() { # If multi-monitor is selected and there are two screens. twoscreen() { # If multi-monitor is selected and there are two screens.

View file

@ -1,8 +1,9 @@
#!/bin/sh #!/bin/sh
# Gives a dmenu prompt to mount unmounted drives.
# If they're in /etc/fstab, they'll be mounted automatically. # Gives a dmenu prompt to mount unmounted drives and Android phones. If
# Otherwise, you'll be prompted to give a mountpoint from already existsing directories. # they're in /etc/fstab, they'll be mounted automatically. Otherwise, you'll
# If you input a novel directory, it will prompt you to create that directory. # be prompted to give a mountpoint from already existsing directories. If you
# input a novel directory, it will prompt you to create that directory.
getmount() { \ getmount() { \
[ -z "$chosen" ] && exit 1 [ -z "$chosen" ] && exit 1
@ -51,7 +52,7 @@ if [ -z "$usbdrives" ]; then
else else
if [ -z "$anddrives" ]; then if [ -z "$anddrives" ]; then
echo "USB drive(s) detected." echo "USB drive(s) detected."
mountusb mountusb
else else
echo "Mountable USB drive(s) and Android device(s) detected." echo "Mountable USB drive(s) and Android device(s) detected."
asktype asktype

View file

@ -1,2 +1,6 @@
#!/bin/sh #!/bin/sh
# This script is the SUDO_ASKPASS variable, meaning that it will be used as a
# password prompt if needed.
dmenu -fn Monospace-18 -sb "#d79921" -sf "#1d2021" -nf "#000000" -nb "#000000" -p "$1" <&- && echo dmenu -fn Monospace-18 -sb "#d79921" -sf "#1d2021" -nf "#000000" -nb "#000000" -p "$1" <&- && echo