Add terminal multiplexer launcher#1687
Add terminal multiplexer launcher#1687salah-walid wants to merge 12 commits intoAvengeMedia:masterfrom
Conversation
|
I'm gonna take a look at this soon, wanted to wait for 1.4 release |
| } | ||
| } | ||
|
|
||
| MuxModal { |
There was a problem hiding this comment.
Should wrap in a LazyLoader here, like other modals - allow it to unload from memory
| spacing: Theme.spacingXS | ||
|
|
||
| Repeater { | ||
| model: muxModal.filteredSessions |
| } | ||
|
|
||
| if (sessionList.length !== root.sessions.length) | ||
| sessionsChanged() |
There was a problem hiding this comment.
Don't need to emit this signal here, it will be emited on the below assignment implicitly.
| } | ||
|
|
||
| if (sessionList.length !== root.sessions.length) | ||
| sessionsChanged() |
There was a problem hiding this comment.
Don't need to emit this signal here, it will be emited on the below assignment implicitly.
| continue | ||
| if (pattern.startsWith("/") && pattern.endsWith("/") && pattern.length > 2) { | ||
| try { | ||
| var re = new RegExp(pattern.slice(1, -1)) |
There was a problem hiding this comment.
It would be more efficient to compute this one time and re-use it, when mux session list changes. But it's not that critical
| import Quickshell.Io | ||
| import qs.Common | ||
|
|
||
| Singleton { |
There was a problem hiding this comment.
Would be nice to get some onCompleted check here, like other services do, to check isZellijAvailable, isTmuxAvailable in the case they arent available in the PATH
Add terminal multiplexer sessions listing launcher for tmux + zellij, possible to add other terminal multiplexers later