Skip to content
budRich edited this page Jul 27, 2022 · 2 revisions

This script can be used to get a similar effect as the popular but never published i3info tool often seen in budlabs youtube videos

#!/bin/bash

this_window_id=$(i3get)
clear
i3get -r ticroymdn --print-format '%k: %v\n'

while true ; do
  [[ $(i3get) = $this_window_id ]] || {
    clear
    i3get -r ticroymdn --print-format '%k: %v\n'
  }
  
  i3-msg -qt subscribe '["window"]'
done
Clone this wiki locally