add support for directly launching windows exes from file exporer using .desktop shortcut

This commit is contained in:
olcxja 2026-09-30 17:32:30 +02:00
commit 5e217472aa
15 changed files with 440 additions and 28 deletions

View file

@ -627,6 +627,36 @@ select {
.modal .mode-buttons { display: flex; flex-direction: column; gap: 0.6rem; }
.modal .mode-buttons .button { justify-content: flex-start; }
/* --- "Open with PLWL" picker ---------------------------------------------- */
.modal .openwith-file-row {
word-break: break-all;
margin-top: -0.3rem;
}
.modal .openwith-file-row code {
font-family: inherit;
color: var(--text-color);
background-color: rgba(255, 255, 255, 0.06);
border-radius: 0.4rem;
padding: 0.1rem 0.4rem;
}
.button:disabled {
opacity: 0.45;
pointer-events: none;
}
/* --- form fields inside modals (shared by every modal with inputs) --------- */
/* .modal is a flex column with gap: 0.8rem. That gap ADDS to the field
margins reused from the config forms (.field-label margin-top + control
margin), so label->control spacing in modals ended up ~3x bigger than in
.form-card (where block-layout margins collapse). Inside modals the gap
owns the group spacing, so the repeated field styles collapse to the same
rhythm as the config forms: label hugs its control (~0.4rem), groups stay
0.8rem apart. */
.modal .field-label { margin-top: 0; margin-bottom: -0.4rem; }
.modal .custom-select,
.modal input,
.modal textarea { margin: 0; }
.toasts {
position: fixed;
bottom: 1rem;