santiago / amishell.sh window decoration
0 beğeniler
0 çatallar
1 dosyalar
Son aktivite
| 1 | #!/bin/bash |
| 2 | |
| 3 | cd /home/pi/scripts/ |
| 4 | /bin/lxterminal -e 'tmux' & |
| 5 | sleep 8 |
| 6 | source ./windowfix.sh |
| 7 | |
| 8 | window_name="tmux" |
| 9 | |
| 10 | #resizing like this fails on cool retro term but we use geometry above |
santiago / windowfix.sh
0 beğeniler
0 çatallar
1 dosyalar
Son aktivite
| 1 | #!/usr/bin/env zsh |
| 2 | |
| 3 | |
| 4 | wait_find_window_id() { |
| 5 | while true; do |
| 6 | window_id=$(wmctrl -l | grep "$1" | awk '{print $1}') |
| 7 | if [ -n "$window_id" ]; then |
| 8 | echo "$window_id" |
| 9 | return |
| 10 | fi |
Daha yeni
Daha eski