Open
Conversation
ivanbaluta
reviewed
Apr 13, 2026
| - Display an error: | ||
|
|
||
| `swaynag {{[-m|--message]}} "{{error message}}"` |
Member
There was a problem hiding this comment.
Suggested change
| `swaynag {{[-m|--message]}} "{{error message}}"` | |
| `swaynag {{[-m|--message]}} "{{error_message}}"` |
Member
Author
There was a problem hiding this comment.
The message usually contains spaces, hence the quotes. I don't think snake case is appropriate here.
|
|
||
| - Display a warning: | ||
|
|
||
| `swaynag {{[-t|--type]}} warning {{[-m|--message]}} "{{warning message}}"` |
Member
There was a problem hiding this comment.
Suggested change
| `swaynag {{[-t|--type]}} warning {{[-m|--message]}} "{{warning message}}"` | |
| `swaynag {{[-t|--type]}} warning {{[-m|--message]}} "{{warning_message}}"` |
|
|
||
| - Use the specified font: | ||
|
|
||
| `swaynag {{[-f|--font]}} "{{monospace bold 9}}" {{[-m|--message]}} "{{error message}}"` |
Member
There was a problem hiding this comment.
Suggested change
| `swaynag {{[-f|--font]}} "{{monospace bold 9}}" {{[-m|--message]}} "{{error message}}"` | |
| `swaynag {{[-f|--font]}} "{{monospace bold 9}}" {{[-m|--message]}} "{{error_message}}"` |
|
|
||
| - Create a button and run a command in the specified terminal on click: | ||
|
|
||
| `TERMINAL={{terminal_executable}} swaynag {{[-b|--button]}} "{{button text}}" {{command}} {{[-m|--message]}} "{{error message}}"` |
Member
There was a problem hiding this comment.
Suggested change
| `TERMINAL={{terminal_executable}} swaynag {{[-b|--button]}} "{{button text}}" {{command}} {{[-m|--message]}} "{{error message}}"` | |
| `TERMINAL={{terminal_executable}} swaynag {{[-b|--button]}} "{{button_text}}" {{command}} {{[-m|--message]}} "{{error_message}}"` |
|
|
||
| - Create a button and run a command on click: | ||
|
|
||
| `swaynag {{[-B|--button-no-terminal]}} "{{button text}}" {{command}} {{[-m|--message]}} "{{error message}}"` |
Member
There was a problem hiding this comment.
Suggested change
| `swaynag {{[-B|--button-no-terminal]}} "{{button text}}" {{command}} {{[-m|--message]}} "{{error message}}"` | |
| `swaynag {{[-B|--button-no-terminal]}} "{{button_text}}" {{command}} {{[-m|--message]}} "{{error_message}}"` |
|
|
||
| - Display the bar on the bottom of the screen: | ||
|
|
||
| `swaynag {{[-e|--edge]}} bottom {{[-m|--message]}} "{{error message}}"` |
Member
There was a problem hiding this comment.
Suggested change
| `swaynag {{[-e|--edge]}} bottom {{[-m|--message]}} "{{error message}}"` | |
| `swaynag {{[-e|--edge]}} bottom {{[-m|--message]}} "{{error_message}}"` |
|
|
||
| - Open `swaynag` on the specified monitor: | ||
|
|
||
| `swaynag {{[-o|--output]}} {{DP-1}} {{[-m|--message]}} "{{error message}}"` |
Member
There was a problem hiding this comment.
Suggested change
| `swaynag {{[-o|--output]}} {{DP-1}} {{[-m|--message]}} "{{error message}}"` | |
| `swaynag {{[-o|--output]}} {{DP-1}} {{[-m|--message]}} "{{error_message}}"` |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Checklist
common,linux,osx,windows,sunos,android, etc.