Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i3-focusedwindow rewritten, improved and added arguments #508

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

zDEFz
Copy link

@zDEFz zDEFz commented Oct 21, 2023

Submitting this because the other pull requests for it I found were not performing well enough nor providing the user with enough options.

i3 Focused window

Displays title of focused window in i3Wm

Demo

Requirements

Dependencies: xdotool

Command line arguments

i3-focusedwindow -class or --classname # for classname
i3-focusedwindow -title or --titlename # for titlename
i3-focusedwindow -win or --windowname # for windowname
i3-focusedwindow -dim or --dimensions # for dimensions
i3-focusedwindow -pos or --position # for position

Installation

The recommended i3blocks config is

[i3-focused-window]
command=$SCRIPT_DIR/custom/i3-focusedwindow -class
interval=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant