From d0c2f9551f5267b52f48b20adc736ef9bed41cbb Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Tue, 12 Nov 2024 19:26:18 -0500 Subject: [PATCH] commit --- config/.config/bspwm/bspwmrc | 1 + config/.scripts/mounter | 3 ++- config/.scripts/webcam | 1 + config/.xprofile | 2 ++ 4 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 config/.scripts/webcam diff --git a/config/.config/bspwm/bspwmrc b/config/.config/bspwm/bspwmrc index dd58efa..39c9fa7 100755 --- a/config/.config/bspwm/bspwmrc +++ b/config/.config/bspwm/bspwmrc @@ -4,6 +4,7 @@ sxhkd & xsetroot -cursor_name left_ptr pgrep bspswallow || bspswallow & +pgrep statnot || statnot & # polybar example & #~/.scripts/panel.sh if [ $(pgrep polybar) ]; then diff --git a/config/.scripts/mounter b/config/.scripts/mounter index 389f2d3..6710b20 100755 --- a/config/.scripts/mounter +++ b/config/.scripts/mounter @@ -57,7 +57,7 @@ test -n "$alldrives" # Feed all found drives to dmenu and get user choice. chosen="$(echo "$alldrives" | dmenu -p "Mount which drive?" -i)" - +# # Function for prompting user for a mountpoint. getmount(){ 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." + echo "here" getmount number="${chosen%%:*}" number="${chosen:1}" # This is a bashism. diff --git a/config/.scripts/webcam b/config/.scripts/webcam new file mode 100755 index 0000000..6c61514 --- /dev/null +++ b/config/.scripts/webcam @@ -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) diff --git a/config/.xprofile b/config/.xprofile index 4948809..4bb6218 100644 --- a/config/.xprofile +++ b/config/.xprofile @@ -1,6 +1,8 @@ export PATH="${PATH}:$HOME/.scripts:~/.local/share/gem/ruby/3.0.0/bin" #export GDK_SCALE=2 #export GDK_DPI_SCALE=0.5 +export XCURSOR_SIZE=32 +export SUDO_ASKPASS=ksshaskpass #sxhkd -c $HOME/.config/berry/sxhkdrc & # xrandr --output DisplayPort-0 --rate 165 autorandr -c