Created
April 10, 2024 12:39
-
-
Save blackjack75/542ad45520c7be0235eda8a2dec1bf5c to your computer and use it in GitHub Desktop.
Launched and removed border on Amiga shell on Pi4-T
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /home/pi/scripts/ | |
/bin/lxterminal -e 'tmux' & | |
sleep 8 | |
source ./windowfix.sh | |
window_name="tmux" | |
#resizing like this fails on cool retro term but we use geometry above | |
new_width=1040 | |
new_height=1800 | |
new_x=20 | |
new_y=80 | |
window_id=$(wait_find_window_id "$window_name") | |
echo "Window '$window_name' found with ID: $window_id" | |
echo "Fixing $window_id" | |
#fix_window "$window_id" | |
echo "resizing $window_id to $new_x , $new_y $new_width x $new_height " | |
resize_window "$window_id" "$new_x" "$new_y" "$new_width" "$new_height" | |
sleep 4 | |
#On pi this one works | |
./toggle-decorations $window_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment