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

Added -q option to terminal page #96

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

PeterNaggschga
Copy link

This change addresses issue #70 by adding a -q option for the terminal page. When running ilia -p terminal -q, the selected command is executed, but no x-terminal-emulator is opened, and the output is discarded.

This mirrors the default behavior in i3 when executing commands via d-menu. It's useful in scenarios where the command's output isn't needed, and only its side effects are of interest.

Copy link
Member

@kgilmer kgilmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good. I recall years back that execution style in ilia for term applications varied. I think at one point this (edit: launching the process in a hidden shell instance) was the default behavior but there was some edge case which caused the policy change. I don't recall the specifics though. Hoping there is a way we can achieve this without the hardcoded bash dependency..

Copy link
Member

@kgilmer kgilmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants