Files
fluffy-pancake/configs/skel/.config/labwc/rc.xml
T

154 lines
5.8 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0"?>
<!-- labwc rc.xml – fluffy-pancake (Noctalia-Zweig), Tastatur: de -->
<labwc_config>
<core>
<gap>8</gap>
</core>
<desktops number="4" />
<theme>
<name>Clearlooks</name>
<font name="sans" size="10" />
</theme>
<resize>
<drawContents>no</drawContents>
</resize>
<keyboard>
<default />
<!-- Terminal -->
<keybind key="W-Return">
<action name="Execute" command="gnome-terminal" />
</keybind>
<!-- Dateimanager -->
<keybind key="W-e">
<action name="Execute" command="nautilus --new-window" />
</keybind>
<!-- Noctalia: App-Launcher (nur Win-Taste, loslassen) -->
<keybind key="Super_L" onRelease="yes">
<action name="Execute" command="noctalia msg panel-toggle launcher" />
</keybind>
<!-- Noctalia: Window-Switcher (Alt+Tab). Explizit verdrahtet, damit NICHT
labwcs eigener Switcher aus <default /> greift. `hold`: kurzer Tap
wechselt direkt zum vorherigen Fenster, Halten + Tab navigiert.
Doku: https://docs.noctalia.dev/noctalia/ipc/shell/ -->
<keybind key="A-Tab">
<action name="Execute" command="noctalia msg window-switcher hold" />
</keybind>
<!-- W-d (Desktop zeigen) bewusst unbelegt: weder ShowDesktop noch
ToggleShowDesktop existiert im ausgelieferten labwc (letzteres
kommt erst mit neuerem Upstream, dort als Super-d Default).
Sobald das Update da ist, hier wieder aktivieren:
<keybind key="W-d">
<action name="ToggleShowDesktop" />
</keybind>
-->
<!-- Noctalia: Control-Center -->
<keybind key="W-s">
<action name="Execute" command="noctalia msg panel-toggle control-center" />
</keybind>
<!-- Noctalia: Einstellungen -->
<keybind key="W-S-s">
<action name="Execute" command="noctalia msg settings-toggle" />
</keybind>
<!-- Sperren (Noctalia-Lockscreen) -->
<keybind key="W-l">
<action name="Execute" command="noctalia msg session lock" />
</keybind>
<!-- Medien-Tasten (Laptop): PipeWire-Mixer, Helligkeit, Player.
Noctalia-OSDs reagieren von selbst auf die Aenderungen. -->
<keybind key="XF86AudioRaiseVolume">
<action name="Execute" command="wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+" />
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute" command="wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" />
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute" command="wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" />
</keybind>
<keybind key="XF86AudioMicMute">
<action name="Execute" command="wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" />
</keybind>
<keybind key="XF86MonBrightnessUp">
<action name="Execute" command="brightnessctl set 5%+" />
</keybind>
<keybind key="XF86MonBrightnessDown">
<action name="Execute" command="brightnessctl set 5%-" />
</keybind>
<keybind key="XF86AudioPlay">
<action name="Execute" command="playerctl play-pause" />
</keybind>
<keybind key="XF86AudioNext">
<action name="Execute" command="playerctl next" />
</keybind>
<keybind key="XF86AudioPrev">
<action name="Execute" command="playerctl previous" />
</keybind>
<!-- Rechner-Taste (Laptop-Tastaturen) -->
<keybind key="XF86Calculator">
<action name="Execute" command="gnome-calculator" />
</keybind>
<!-- Screenshots (grim + slurp, wlroots-nativ): Bereich bzw. Vollbild.
Landen in ~/Bilder (xdg-user-dirs legt den Ordner im Autostart an).
Auswahl abbruch mit Esc - grim schreibt dann keine Datei. -->
<keybind key="Print">
<action name="Execute" command="sh -c 'grim -g &quot;$(slurp)&quot; &quot;$(xdg-user-dir PICTURES)/screenshot-$(date +%Y%m%d-%H%M%S).png&quot;'" />
</keybind>
<keybind key="S-Print">
<action name="Execute" command="sh -c 'grim &quot;$(xdg-user-dir PICTURES)/screenshot-$(date +%Y%m%d-%H%M%S).png&quot;'" />
</keybind>
<!-- Terminal (Zweitbelegung, Muskelgedaechtnis aus GNOME & Co.) -->
<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" />
</keybind>
</keyboard>
<mouse>
<default />
<!-- Linksklick auf dem Desktop: kein Menue (nur Rechts/Mitte oeffnen es).
Leere mousebind entkoppelt den labwc-Default (Left->root-menu);
vgl. Doku-Muster zum Entbinden. Middle bleibt bewusst aktiv. -->
<context name="Root">
<mousebind button="Left" action="Press" />
</context>
</mouse>
<!-- Touchpad (Laptop-Defaults, explizit statt implizit): Tippen = Klick,
Zwei-Finger-Scroll, kein Natural-Scroll, Pause beim Tippen. -->
<libinput>
<device category="touchpad">
<tap>yes</tap>
<tapButtonMap>lrm</tapButtonMap>
<scrollMethod>twofinger</scrollMethod>
<naturalScroll>no</naturalScroll>
<disableWhileTyping>yes</disableWhileTyping>
</device>
</libinput>
</labwc_config>