feat: Arbeitsflaechen-Keybinds Win+1..4 / Win+Shift+1..4
This commit is contained in:
1 parent
07cc206c7e
commit
f127da0bce
2 files changed
+59
No files matched your search
@@ -99,6 +99,32 @@
|
||||
<keybind key="C-A-t">
|
||||
<action name="Execute" command="gnome-terminal" />
|
||||
</keybind>
|
||||
<!-- Arbeitsflaechen: Win+1..4 springen, Win+Shift+1..4 schickt das
|
||||
Fenster mit (labwc-Standardbelegung, 4 Desktops). -->
|
||||
<keybind key="W-1">
|
||||
<action name="GoToDesktop" to="1" />
|
||||
</keybind>
|
||||
<keybind key="W-2">
|
||||
<action name="GoToDesktop" to="2" />
|
||||
</keybind>
|
||||
<keybind key="W-3">
|
||||
<action name="GoToDesktop" to="3" />
|
||||
</keybind>
|
||||
<keybind key="W-4">
|
||||
<action name="GoToDesktop" to="4" />
|
||||
</keybind>
|
||||
<keybind key="W-S-1">
|
||||
<action name="SendToDesktop" to="1" />
|
||||
</keybind>
|
||||
<keybind key="W-S-2">
|
||||
<action name="SendToDesktop" to="2" />
|
||||
</keybind>
|
||||
<keybind key="W-S-3">
|
||||
<action name="SendToDesktop" to="3" />
|
||||
</keybind>
|
||||
<keybind key="W-S-4">
|
||||
<action name="SendToDesktop" to="4" />
|
||||
</keybind>
|
||||
<!-- Fenster schliessen -->
|
||||
<keybind key="A-F4">
|
||||
<action name="Close" />
|
||||
|
||||
@@ -314,6 +314,39 @@ if [[ -f "${RC_XML}" ]] && ! grep -q 'key="A-Tab"' "${RC_XML}"; then
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Migration: Arbeitsflaechen-Wechsel (Win+1..4 springen, Win+Shift+1..4
|
||||
# schickt das Fenster mit). labwc-Standardbelegung.
|
||||
if [[ -f "${RC_XML}" ]] && ! grep -q 'key="W-1"' "${RC_XML}"; then
|
||||
insert_before "${RC_XML}" '<keybind key="A-F4">' "Arbeitsflaechen-Keybinds ergaenzt" <<'EOF' || true
|
||||
<!-- Arbeitsflaechen: Win+1..4 springen, Win+Shift+1..4 schickt das
|
||||
Fenster mit (labwc-Standardbelegung, 4 Desktops). -->
|
||||
<keybind key="W-1">
|
||||
<action name="GoToDesktop" to="1" />
|
||||
</keybind>
|
||||
<keybind key="W-2">
|
||||
<action name="GoToDesktop" to="2" />
|
||||
</keybind>
|
||||
<keybind key="W-3">
|
||||
<action name="GoToDesktop" to="3" />
|
||||
</keybind>
|
||||
<keybind key="W-4">
|
||||
<action name="GoToDesktop" to="4" />
|
||||
</keybind>
|
||||
<keybind key="W-S-1">
|
||||
<action name="SendToDesktop" to="1" />
|
||||
</keybind>
|
||||
<keybind key="W-S-2">
|
||||
<action name="SendToDesktop" to="2" />
|
||||
</keybind>
|
||||
<keybind key="W-S-3">
|
||||
<action name="SendToDesktop" to="3" />
|
||||
</keybind>
|
||||
<keybind key="W-S-4">
|
||||
<action name="SendToDesktop" to="4" />
|
||||
</keybind>
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Migration: Screenshot-Tasten (Print = Bereich, Shift+Print = Vollbild).
|
||||
if [[ -f "${RC_XML}" ]] && ! grep -q 'key=".*Print' "${RC_XML}"; then
|
||||
insert_before "${RC_XML}" '<keybind key="A-F4">' "Screenshot-Tasten ergaenzt" <<'EOF' || true
|
||||
|
||||
Reference in new issue
Block a user