All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists matching topic desktop

Recently created
Least recently created
Recently updated
Least recently updated
santiago's Avatar

santiago / amishell.sh window decoration

0 likes
0 forks
1 files
Last active 1747056117
Launch and remove border on Amiga-like shell on Pi4-T
bash desktop linux
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's Avatar

santiago / windowfix.sh

0 likes
0 forks
1 files
Last active 1747055827
Resize and remove window decoration on PopOS and Linux desktops (from stack overflow)
bash desktop linux
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
Newer Older

Powered by Opengist ⋅ Load: 15ms⋅

日本語
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文