This commit is contained in:
Michael Chalupiak 2024-11-12 19:26:18 -05:00
parent 855ee6fe93
commit d0c2f9551f
4 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,7 @@
sxhkd & sxhkd &
xsetroot -cursor_name left_ptr xsetroot -cursor_name left_ptr
pgrep bspswallow || bspswallow & pgrep bspswallow || bspswallow &
pgrep statnot || statnot &
# polybar example & # polybar example &
#~/.scripts/panel.sh #~/.scripts/panel.sh
if [ $(pgrep polybar) ]; then if [ $(pgrep polybar) ]; then

View File

@ -57,7 +57,7 @@ test -n "$alldrives"
# Feed all found drives to dmenu and get user choice. # Feed all found drives to dmenu and get user choice.
chosen="$(echo "$alldrives" | dmenu -p "Mount which drive?" -i)" chosen="$(echo "$alldrives" | dmenu -p "Mount which drive?" -i)"
#
# Function for prompting user for a mountpoint. # Function for prompting user for a mountpoint.
getmount(){ getmount(){
mp="$(find /mnt /media /mount /home -maxdepth 1 -type d 2>/dev/null | dmenu -i -p "Mount this drive where?")" mp="$(find /mnt /media /mount /home -maxdepth 1 -type d 2>/dev/null | dmenu -i -p "Mount this drive where?")"
@ -110,6 +110,7 @@ case "$chosen" in
📱*) 📱*)
notify-send "❗Note" "Remember to allow file access on your phone now." notify-send "❗Note" "Remember to allow file access on your phone now."
echo "here"
getmount getmount
number="${chosen%%:*}" number="${chosen%%:*}"
number="${chosen:1}" # This is a bashism. number="${chosen:1}" # This is a bashism.

1
config/.scripts/webcam Executable file
View File

@ -0,0 +1 @@
mpv --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=input_format=mjpeg --untimed --no-cache --no-osc --no-input-default-bindings --profile=low-latency --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)

View File

@ -1,6 +1,8 @@
export PATH="${PATH}:$HOME/.scripts:~/.local/share/gem/ruby/3.0.0/bin" export PATH="${PATH}:$HOME/.scripts:~/.local/share/gem/ruby/3.0.0/bin"
#export GDK_SCALE=2 #export GDK_SCALE=2
#export GDK_DPI_SCALE=0.5 #export GDK_DPI_SCALE=0.5
export XCURSOR_SIZE=32
export SUDO_ASKPASS=ksshaskpass
#sxhkd -c $HOME/.config/berry/sxhkdrc & #sxhkd -c $HOME/.config/berry/sxhkdrc &
# xrandr --output DisplayPort-0 --rate 165 # xrandr --output DisplayPort-0 --rate 165
autorandr -c autorandr -c