Files
_dotfiles/.config/i3blocks/i3-focusedwindow
2024-06-12 13:49:42 +02:00
..
2024-06-12 13:49:42 +02:00
2024-06-12 13:49:42 +02:00
2024-06-12 13:49:42 +02:00

i3 Focused window

Displays title of focused window in i3Wm

Demo

Requirements

Dependencies: xprop, awk

Command line arguments

i3-focusedwindow [maximum length to display]

Blank for unlimited length, i.e. output line can occupy all available space.

Installation

The recommended i3blocks config is

[i3-focusedwindow]
label=[]= 
command=$SCRIPT_DIR/i3-focusedwindow 20
interval=persist