Commit Graph

406 Commits

Author SHA1 Message Date
Kacper Kowalski 6551dba9dc Add config option for inactive background offset 2023-02-03 14:59:36 +01:00
Kacper Kowalski 3854a7c0e2 Allow setting hardcoded background darkening
Normally, one can only change the background of the foreground for the
inactive window. With this change the background of the inactive window
will also change it's brightness by 20%.
2023-02-03 14:34:16 +01:00
Vishweshwar Saran Singh Deo 98dcd0efec [bug 680] Open up keybindings page on keypress #680
- implemented the short-cut
- seems the key combo is already taken 'go_prev' : 'p'
- How about : 'k', I will make the change for now.
- But adding key seq to a long list of keypress function breaks my heart, If the plugin util keybind makes it to the main branch, I will take this out and may be have a shortcut plugin to handle these.
- Also selecting of Keybindings page is being done for this specific case Page = 3
- A notebook tab number and title map would remove this. Which can be configurable, later.
2022-11-23 20:02:26 +05:30
Matt Rose 13ff8cdcf5
Merge pull request #683 from mattrose/insert-term-name-plugin
Plugin and Group menu item that inserts the name of the terminal.
2022-11-20 16:11:25 -05:00
Matthew Rose 35e7e026cd add "Insert Terminal Name" to the group menu 2022-11-20 13:42:20 -05:00
Matthew Rose 3d63c91517 [New Plugin] Plugin that inserts the name
This plugin inserts the name of the terminal, as determined by
Terminal.get_window_title() to all open terminals. Fixes #540
2022-11-19 23:01:05 -05:00
Matt Rose 4e5e790a81
Merge pull request #189 from phidebian/phi-zero-padded
Use the term 'zero padded' instead of 'padded'.
2022-11-19 15:09:43 -05:00
Matt Rose 2aff8dbf30
Merge pull request #679 from mattrose/add-readonly
Add Readonly toggle to popup menu
2022-11-18 23:15:43 -05:00
Matthew Rose 0d362fc0f5 Add Readonly toggle to popup menu
Fixes #649
2022-11-18 21:14:42 -05:00
Vishweshwar Saran Singh Deo 6bdb0c648c [bug 613] - Shortcut for autosplit h/v depending on active terminal size #613
-added auto split feature
-new signal split-auto was added
-currently this uses widget dimensions for the split as rows, cols were having different space and was not consistent, this can be changed if needed
-short cut was also added
-icon for the menu item needs to be added
2022-11-05 11:42:38 +05:30
Matt Rose 3fa8669050
Merge pull request #661 from vssdeo/654-Plugin-Submission-SaveLastSessionLayout-Uses-Layout-to-Auto-Save-Last
[bug 654] - Plugin Submission : SaveLastSessionLayout Uses Layout to …
2022-10-30 21:23:15 -04:00
Vishweshwar Saran Singh Deo 3aaf54b5de [bug 654] - Plugin Submission : SaveLastSessionLayout Uses Layout to Auto-Save Last session and CWD on Terminal Window Close
- changes for the pre-close-term event in the plugin
- submitting as I had first thought of using current event close-term, but later thought of a consistent solution
2022-10-30 23:26:10 +05:30
Matt Rose df1a433c61
Merge pull request #651 from kianmeng/fix-typos
Fix typos
2022-10-30 11:29:12 -04:00
Matt Rose 7c83d23e55
Merge pull request #659 from flaviosteimacher/patch-1
Update terminal.py
2022-10-30 11:15:46 -04:00
flaviosteimacher 295cfd9f60
Update terminal.py
Fix error insert terminal number
2022-10-27 16:02:02 -03:00
Kian-Meng Ang 25111f2402 Fix typos
Found via `codespell -S .eggs,po,*.css -L boddy,maco,trough,wont,poing,gir,visibles`
2022-10-22 00:07:07 +08:00
Vishweshwar Saran Singh Deo 5bd81ce478 - added plugin save_last_session_layout.py
- saves the working directory and layout of last session (last window) closed
- layout is saved under name of SaveLastSessionLayout
- can be loaded from context menu (right click) -> layouts -> "SaveLastSessionLayout"
- last working directory is also saved
2022-10-16 01:32:30 +05:30
Vulcalien 784dc4946e Terminal mousewheel event: check for all modifiers 2022-06-13 15:16:24 +02:00
Jay W a41a38bcc9 Add flatpak support to terminatorlib 2022-01-31 19:12:16 +00:00
Vulcalien 8e50eb75ce Remove duplicated info in some debug messages 2022-01-28 21:51:54 +01:00
Matt Rose 96aa749678
Merge pull request #553 from Vulcalien/zoom-terminal-switch
Unzoom terminal on interaction
2021-12-26 18:10:22 -05:00
Matt Rose 8f13beffbf
Merge pull request #552 from FernandoBasso/feat/configure-cell-width
Add ability to configure cell width (font character spacing)
2021-12-19 13:17:47 -05:00
Fernando Basso bd5dba5b08 Refactor line height to cell height
After the previous commit [1], which implements ‘cell width’, it makes
sense to rename ‘line height’ to ‘cell height’, especially because it is
the terminology used by VTE itself [2].

1. ef1768505c Add cell width configuration in preferences
2. https://lazka.github.io/pgi-docs/Vte-2.91/classes/Terminal.html#Vte.Terminal.set_cell_height_scale
2021-12-14 06:30:58 -03:00
Vulcalien 8c90bb4dc3 Unzoom terminal on interaction
There is a bug: strange behavior for navigation and rotation
2021-12-10 20:57:48 +01:00
Fernando Basso ef1768505c Add cell width configuration in preferences
Currently, we have a setting for changing the line height (cell height),
but not for changing cell width (both available in VTE).

Depending on the font used, it is useful to have the ability to set a
little more space between characters.

This commit adds a configuration similar to the existing one for line
height, but for character space (cell width scale [1]).

Thanks Matt Rose for helping and encouraging me to implement this.

1. https://lazka.github.io/pgi-docs/Vte-2.91/classes/Terminal.html#Vte.Terminal.set_cell_width_scale
2021-12-10 07:58:02 -03:00
Vulcalien 1118fb0cfd Use FAST as filter for scaling background image 2021-12-10 00:35:34 +01:00
Vulcalien 122b0fe3ae background_draw: organize code 2021-12-09 23:01:58 +01:00
Vulcalien 5a6237cc47 Performance: use Surface instead of PixBuf 2021-12-09 23:00:35 +01:00
Vulcalien a06e7951f6 Update background image without restarting 2021-12-08 16:05:38 +01:00
Vulcalien 25902fd73e Only set background_image if background_type is 'image'
+ Fixed code duplication
2021-12-08 12:05:28 +01:00
Vulcalien 308c8d81a2 Remove encoding from the Context menu 2021-11-06 11:55:33 +01:00
Vulcalien 9f7ed7ee21 Remove encoding from the Preferences menu 2021-11-06 11:43:23 +01:00
Rafael Kitover 705322dfff
Add paste_selection keybinding.
Unbound by default, pastes primary selection.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2021-10-01 02:47:15 +00:00
Vulcalien fa09ba0cda Add setting 'disable_mouse_paste' 2021-09-12 22:13:01 +02:00
Vulcalien 672e6fb4c8 BugFix: terminal won't restart if there is no custom command 2021-08-31 01:48:41 +02:00
Matt Rose f7f47f4f5e
Merge pull request #487 from mattrose/issue-466
add bg_img and bg_img_all commands to remotinator
2021-08-16 19:31:57 -04:00
Matt Rose 0434880f13 initial commit for remotinator background image command 2021-08-14 11:38:49 -04:00
Vulcalien 880a15d5d3 Make terminal cursor colors fallback to foreground & background 2021-08-14 17:07:00 +02:00
Vulcalien ee823a9cc9 Custom foreground color for cursor (GUI not implemented yet) 2021-08-14 15:14:02 +02:00
Matt Rose b80d133ccf add group all terminals in window 2021-08-06 19:02:54 -04:00
Matt Rose 6c7635c7ac tell titlebar to start focussed out if it does not have focus 2021-07-02 19:23:23 -04:00
Gerben Welter 1bc6b679c7 Fix the background image loading exception 2021-05-15 22:22:22 +02:00
Matt Rose 5455ac2f3e
Merge pull request #399 from nojhan/feat+RunCmdOnMatch
Feat+run cmd on match
2021-04-13 16:47:36 -04:00
Matt Rose 23e5bb810a
Merge pull request #390 from TheBigS/add-new-vsplit-hsplit-cmd-dbus
Add new vsplit hsplit cmd dbus
2021-04-12 17:53:42 -04:00
Matt Rose 9ad141229c
Merge pull request #398 from nojhan/feat/config+link_single_click
add feat: config to open links with single click
2021-04-12 17:28:36 -04:00
Vulcalien c00a54d867 Fixed geometry hints 2021-04-08 21:57:41 +02:00
nojhan 8f0e8add14 feat: hidden plugins, managed URLhandlers, RunCmdOnMatch plugin
- Plugins starting with underscore will not be displayed by the
  preference/plugins window.
- This allow to add URLhandlers plugins on-the-fly.
- Add the RunCmdOnMatch plugin, which creates URLhandlers plugins
  based on a regexp/command pair.
- If an URLhandler plugin returns a prepared URL starting with "terminator://",
  then terminator will not try to open it with the URL handler (like xdg-open).
2021-03-04 21:09:15 +01:00
nojhan 5fb7466128 feat: add Exception class name in err messages
Easier debugging: some Python exception error messages are difficult to
interpret without the exception type (e.g. KeyError).
2021-03-04 21:07:56 +01:00
nojhan c47f3a2bad add feat: config to open links with single click
Instead of Ctrl-left click.
2021-03-04 11:17:26 +01:00
thebigs 4494d24989 Allow caller of spawn_child() to specify the initial command to run in the new child 2021-02-18 22:32:10 -05:00