fullscreen (196B)
1 #!/bin/sh 2 3 BAROFF=16 4 5 [ -z "$1" ] && { echo "usage: fullscreen <wid>"; exit 1; } 6 7 wh="$(wattr wh "$(lsw -r)")" 8 w="${wh% *}" 9 h="${wh#* }" 10 h=$((h-BAROFF)) 11 wtp 0 "$BAROFF" "$w" "$h" "$1" 12 13 focus "$1"
dotfilesconfigurations and scripts | |
git clone https://riazj.com/git/dotfiles | |
Log | Files | Refs | LICENSE |