From f5ecd160e87d41ff77929663c71644275cc4891c Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Wed, 25 Oct 2023 14:44:26 +0300 Subject: [PATCH] 2s sleep before window resize --- menu.+.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu.+.sh b/menu.+.sh index 0f49979..5600fe4 100755 --- a/menu.+.sh +++ b/menu.+.sh @@ -99,5 +99,5 @@ echo "--Скриншот | iconName=image-x-generic bash='sleep 0.3 && flameshot echo "--GIF с экрана | iconName=video-display bash='peek' terminal=false" echo "--Видео с экрана | iconName=simplescreenrecorder bash='simplescreenrecorder' terminal=false" -echo "Изменить размер окна на 1920x1080 | iconName=view-fullscreen bash='wmctrl -i -r \`xdotool getwindowfocus\` -e 0,0,0,1920,1080' terminal=false" -echo "Изменить размер окна на 2560x1440 | iconName=view-fullscreen bash='wmctrl -i -r \`xdotool getactivewindow\` -e 0,0,0,2560,1440' terminal=false" +echo "Изменить размер окна на 1920x1080 | iconName=view-fullscreen bash='sleep 2 && wmctrl -i -r \`xdotool getwindowfocus\` -e 0,0,0,1920,1080' terminal=false" +echo "Изменить размер окна на 2560x1440 | iconName=view-fullscreen bash='sleep 2 && wmctrl -i -r \`xdotool getactivewindow\` -e 0,0,0,2560,1440' terminal=false"