Todos Novo

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

Entrar


Todos Novo Entrar

All gists matching topic desktop

Mais recente criado
Menos recente criado
Mais recente atualizado
Menos recente atualizado
santiago's Avatar

santiago / amishell.sh window decoration

0 curtidas
0 bifurcações
1 arquivos
Última atividade 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 curtidas
0 bifurcações
1 arquivos
Última atividade 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
Próximo Anterior

Desenvolvido por Opengist ⋅ Load: 16ms⋅

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