mirror of
https://github.com/bvanroll/_dotfiles.git
synced 2025-08-29 20:12:42 +00:00
29 lines
455 B
Markdown
29 lines
455 B
Markdown
# i3 Focused window
|
|
|
|
Displays title of focused window in i3Wm
|
|
|
|

|
|
|
|
# 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
|
|
```
|