Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 32ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

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

all:systemctl search all fields

Login
d

desktop

Recently created Least recently created Recently updated Least recently updated
santiago

santiago / amishell.sh window decoration

Last active 2 hours ago bash desktop linux

Launch and remove border on Amiga-like shell on Pi4-T

0 0 1
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

santiago / windowfix.sh

Last active 2 hours ago bash desktop linux

Resize and remove window decoration on PopOS and Linux desktops (from stack overflow)

0 0 1
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