-
Notifications
You must be signed in to change notification settings - Fork 12
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
Configurable terminal program #58
Conversation
Signed-off-by: Roy Golan <[email protected]>
Signed-off-by: Roy Golan <[email protected]>
3ca358f
to
1f34853
Compare
show_apply_button: true, // Allows user to apply the input | ||
}); | ||
behaviourGroup.add(terminalRow); | ||
window._settings.bind("terminal", terminalRow, "text", Gio.SettingsBindFlags.DEFAULT); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a silly question
Does gnome extension use mvvm to set the config, and we only need to set a new schema of the config then it just automatically has storage for saving it?
I seen on https://gjs.guide/extensions/development/preferences.html#gsettings
But well I never code it, just making sure.
Thank you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't how the internal backend system for gsettengs works, I just use the API. It is used for a lot other gnome related configurations, not only for extensions though.
038aa01
to
ae0bb1a
Compare
The extension preferences has a new entry for the terminal program to use for running the commands in a terminal. The default value is "gnome-terminal --" which is the current behaviour. Here are terminal values that were tested and worked: "gnome-terminal --" "ptyxis --" "kitty" "flatpak run com.gexperts.Tilix -e" "flatpak run app.studiodev.Ptyxis --" Signed-off-by: Roy Golan <[email protected]>
- migrate to eslint 9 - migrate .eslint.yaml to eslint.config.mjs Signed-off-by: Roy Golan <[email protected]>
ae0bb1a
to
97226e7
Compare
Signed-off-by: Roy Golan <[email protected]>
Signed-off-by: Roy Golan <[email protected]>
Signed-off-by: Roy Golan <[email protected]>
Support configuring the terminal program
The extension preferences has a new entry for the terminal program to
use for running the commands in a terminal.
The default value is "gnome-terminal --" which is the current behaviour.
Here are terminal values that were tested and worked:
"gnome-terminal --"
"ptyxis --"
"kitty"
"flatpak run com.gexperts.Tilix -e"
"flatpak run app.studiodev.Ptyxis --"
Fixes: #57