Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Add path information to the window title#5

Closed
GRFreire wants to merge 1 commit into
GRFreire:masterfrom
qsmodo:title
Closed

Add path information to the window title#5
GRFreire wants to merge 1 commit into
GRFreire:masterfrom
qsmodo:title

Conversation

@GRFreire

@GRFreire GRFreire commented Aug 23, 2021

Copy link
Copy Markdown
Owner

The title is broken in a literal prefix and in a path suffix.
Both can be configured via X-resources.

xyb3rt#453 (comment)
For those who use window managers (e.g. dwm, icewm) that show window titles, it may be useful to show the current file name in the title. This PR breaks the title in a string literal prefix and a suffix that shows a file path component, both X-resources configurable.

sxiv - fileInView.png
^^^^^^^
prefix ^^^^^^^^^^^^^^
           suffix

The suffix can be the filename, its full path, its directory name, its directory full path, or, to keep backwards compatibility, nothing. Please see the manual for more detailed information.

The title is broken in a literal prefix and in a path suffix.
Both can be configured via X-resources.
@GRFreire GRFreire closed this Aug 23, 2021
@GRFreire

Copy link
Copy Markdown
Owner Author

This pr was closed because I created another branch (#6) with these modifications so I can make some changes myself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants