From 14bb9c8af04d28aae3bcd88734ac8d27934b6492 Mon Sep 17 00:00:00 2001 From: srv Date: Tue, 6 May 2025 03:25:16 -0500 Subject: Improve filename and remove innecesary validation wmctrl --- run.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'run.sh') diff --git a/run.sh b/run.sh index 15261b5..c29b934 100644 --- a/run.sh +++ b/run.sh @@ -9,10 +9,8 @@ if echo -n $1 | grep -q start; then fi # Abre una ventana de xterm que ejecuta "dash run" - if wmctrl -l | grep -qv 'Yad Icon panel'; then - sleep 1 && ( xdotool windowmove "$(xdotool search --name 'bash yad' | head -n 1)" 1247 536 && xdotool windowsize "$(xdotool search --name 'bash yad' | head -n 1)" 28 160 ) & - xterm -hold -e "bash $HOME/automatisiere-lieblingstexte/yad-panel.sh" & - fi + sleep 1 && ( xdotool windowmove "$(xdotool search --name 'bash yad' | head -n 1)" 1247 536 && xdotool windowsize "$(xdotool search --name 'bash yad' | head -n 1)" 28 160 ) & + xterm -hold -e "bash $HOME/automatisiere-lieblingstexte/yad-panel.sh" & fi if echo -n $1 | grep -q 'Z9SWsMuc89'; then -- cgit v1.2.3