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

29 lines
455 B
Markdown

# i3 Focused window
Displays title of focused window in i3Wm
![Demo](i3-focusedwindow.png)
# Requirements
Dependencies: `xprop`, `awk`
# Command line arguments
```bash
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
```INI
[i3-focusedwindow]
label=[]=
command=$SCRIPT_DIR/i3-focusedwindow 20
interval=persist
```