This repository was archived by the owner on May 1, 2025. It is now read-only.
Provide a command line flag to set additional dmenu parameters#46
Open
hashworks wants to merge 1 commit into
Open
Provide a command line flag to set additional dmenu parameters#46hashworks wants to merge 1 commit into
hashworks wants to merge 1 commit into
Conversation
9bc8df6 to
8a9b2d0
Compare
2f87c93 to
86e2d99
Compare
For example, this allows one to provide additional rofi opts: ``` tessen -d rofi --dopts="-monitor 0" ```
86e2d99 to
c173f85
Compare
Author
|
Fixed the format issue with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For example, this allows one to provide additional rofi opts:
tessen -d rofi --dopts="-window-title=test -monitor 0"My use case is the following: On sway, rofi isn't able to determine the focused monitor. Thus, I need to provide that information dynamically:
rofi -show run -monitor "$(swaymsg -t get_outputs | jq '.[] | select(.focused) | select(.id) | .name')"With this PR, I can do the same with tessen:
tessen -d rofi --dopts "-monitor $(swaymsg -t get_outputs | jq '.[] | select(.focused) | select(.id) | .name')"