Adds / tweaks a bunch of scripts
This commit is contained in:
parent
887f479d1f
commit
285165913d
13 changed files with 112 additions and 30 deletions
|
@ -47,6 +47,16 @@ case "$1" in
|
|||
maim -s -c 0.41,0.62,0.42,0.2 -l -u "$file"
|
||||
fi
|
||||
;;
|
||||
"monitor")
|
||||
if [ -n "$WAYLAND_DISPLAY" ]; then
|
||||
notify-send "No idea"
|
||||
else
|
||||
mousex="$(xdotool getmouselocation | awk -F "[: ]" '{print $2}')"
|
||||
mousey="$(xdotool getmouselocation | awk -F "[: ]" '{print $4}')"
|
||||
monitors="$(xrandr | grep -o '[0-9]*x[0-9]*[+-][0-9]*[+-][0-9]*')"
|
||||
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [ -n "$WAYLAND_DISPLAY" ]; then
|
||||
grim "$file"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue