diff --git a/animatedWallpaper b/animatedWallpaper index 0cfbeb8..f25a1c0 100755 --- a/animatedWallpaper +++ b/animatedWallpaper @@ -6,10 +6,15 @@ PIDFILE="/var/run/user/$UID/bg.pid" declare -a PIDs _screen() { - # TODO Replace with -wid=WID somehow - xwinwrap -ov -ni -g "$1" -- mpv --fullscreen\ + # g specify geometry heightxwidth+xcoord+ycoord + # ni Ignore Input + # ov For Desktop background + # fs fullscreen + # vo=gpu gpu accelerated video output + # hwdec=vdpau use vdpau for gpu acceleration + xwinwrap -ov -ni -g "$1" -- mpv -fs\ --no-stop-screensaver\ - --vo=gpu --hwdec=yuv420p\ + --vo=gpu --hwdec=vaapi\ --loop-file --no-audio --no-osc --no-osd-bar\ -wid WID --no-input-default-bindings\ "$2" & diff --git a/click_test.sh b/click_test.sh new file mode 100755 index 0000000..083cdd9 --- /dev/null +++ b/click_test.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +xdotool search --class "Minecraft\*\ 1\.16\.4" mousemove --window %1 950 350 click 1; +while true; do + sleep 1; + xdotool search --class "Minecraft\*\ 1\.16\.4" click 1; + echo "click"; +done + diff --git a/dmenu_quit b/dmenu_quit index 267cb27..0b9a3e2 100755 --- a/dmenu_quit +++ b/dmenu_quit @@ -1,6 +1,6 @@ #!/bin/bash -test=$(echo -e "Shutdown\nLogout\nSuspend\nReboot\nCancel" | dmenu -i -p "$1") +test=$(echo -e "Shutdown\nLogout\nSuspend\nReboot\nCancel" | dmenu -i -p "$1" -h 25) case "$test" in Shutdown) diff --git a/launch_multimc_instance b/launch_multimc_instance new file mode 100755 index 0000000..e8ab0fb --- /dev/null +++ b/launch_multimc_instance @@ -0,0 +1,9 @@ +#!/bin/bash + +set -euo pipefail +IFS=$'\n\t' + +instance=$(ls -I _MMC_TEMP -I instgroups.json ~/.local/share/multimc/instances | dmenu -i -p "Choose minecraft instance: " -h 25) + +multimc --launch "$instance" + diff --git a/udmenu b/udmenu index 3277746..d27ead8 100755 --- a/udmenu +++ b/udmenu @@ -1,5 +1,5 @@ #!/bin/bash -grep -v "#" ~/.local/bin/unicode | dmenu -i -l 20 -fn "JoyPixels:pixelsize=10" | awk '{print $1}' | tr -d '\n' | xclip -selection clipboard +grep -v "#" ~/.local/bin/unicode | dmenu -i -h 25 -l 20 -fn "JoyPixels:pixelsize=10" | awk '{print $1}' | tr -d '\n' | xclip -selection clipboard pgrep -x dunst > /dev/null && notify-send "$(xclip -o -selection clipboard) copied to clipboard"