|
| 1 | +<?xml version="1.0"?> |
| 2 | +<!-- labwc configuration - Windows 95/98 Style para ThinkPad L420 --> |
| 3 | +<!-- Path: ~/.config/labwc/rc.xml --> |
| 4 | + |
| 5 | +<labwc_config> |
| 6 | + |
| 7 | + <!-- ===== THEME ===== --> |
| 8 | + <theme> |
| 9 | + <name>Win95</name> |
| 10 | + <cornerRadius>0</cornerRadius> |
| 11 | + <keepBorder>yes</keepBorder> |
| 12 | + </theme> |
| 13 | + |
| 14 | + <!-- ===== KEYBOARD ===== --> |
| 15 | + <keyboard> |
| 16 | + <default /> |
| 17 | + |
| 18 | + <!-- Windows 95 style keybindings --> |
| 19 | + |
| 20 | + <!-- Alt+F4 - Close window --> |
| 21 | + <keybind key="A-F4"> |
| 22 | + <action name="Close"/> |
| 23 | + </keybind> |
| 24 | + |
| 25 | + <!-- Super+Return - Terminal --> |
| 26 | + <keybind key="W-Return"> |
| 27 | + <action name="Execute"> |
| 28 | + <command>alacritty</command> |
| 29 | + </action> |
| 30 | + </keybind> |
| 31 | + |
| 32 | + <!-- Super+Space - Run dialog (dmenu) --> |
| 33 | + <keybind key="W-space"> |
| 34 | + <action name="Execute"> |
| 35 | + <command>dmenu_run -fn 'Sans-9' -nb '#C0C0C0' -nf '#000000' -sb '#000080' -sf '#FFFFFF'</command> |
| 36 | + </action> |
| 37 | + </keybind> |
| 38 | + |
| 39 | + <!-- Alt+Tab - Window switching --> |
| 40 | + <keybind key="A-Tab"> |
| 41 | + <action name="NextWindow"/> |
| 42 | + </keybind> |
| 43 | + |
| 44 | + <keybind key="A-S-Tab"> |
| 45 | + <action name="PreviousWindow"/> |
| 46 | + </keybind> |
| 47 | + |
| 48 | + <!-- Super+D - Show desktop --> |
| 49 | + <keybind key="W-d"> |
| 50 | + <action name="ToggleShowDesktop"/> |
| 51 | + </keybind> |
| 52 | + |
| 53 | + <!-- Super+F - Fullscreen --> |
| 54 | + <keybind key="W-f"> |
| 55 | + <action name="ToggleFullscreen"/> |
| 56 | + </keybind> |
| 57 | + |
| 58 | + <!-- Super+M - Maximize --> |
| 59 | + <keybind key="W-m"> |
| 60 | + <action name="ToggleMaximize"/> |
| 61 | + </keybind> |
| 62 | + |
| 63 | + <!-- Super+Shift+Q - Exit --> |
| 64 | + <keybind key="W-S-q"> |
| 65 | + <action name="Exit"/> |
| 66 | + </keybind> |
| 67 | + |
| 68 | + <!-- Workspaces (Virtual Desktops) --> |
| 69 | + <keybind key="W-1"> |
| 70 | + <action name="GoToDesktop"><to>1</to></action> |
| 71 | + </keybind> |
| 72 | + <keybind key="W-2"> |
| 73 | + <action name="GoToDesktop"><to>2</to></action> |
| 74 | + </keybind> |
| 75 | + <keybind key="W-3"> |
| 76 | + <action name="GoToDesktop"><to>3</to></action> |
| 77 | + </keybind> |
| 78 | + <keybind key="W-4"> |
| 79 | + <action name="GoToDesktop"><to>4</to></action> |
| 80 | + </keybind> |
| 81 | + |
| 82 | + <!-- Move window to workspace --> |
| 83 | + <keybind key="W-S-1"> |
| 84 | + <action name="SendToDesktop"><to>1</to></action> |
| 85 | + </keybind> |
| 86 | + <keybind key="W-S-2"> |
| 87 | + <action name="SendToDesktop"><to>2</to></action> |
| 88 | + </keybind> |
| 89 | + <keybind key="W-S-3"> |
| 90 | + <action name="SendToDesktop"><to>3</to></action> |
| 91 | + </keybind> |
| 92 | + <keybind key="W-S-4"> |
| 93 | + <action name="SendToDesktop"><to>4</to></action> |
| 94 | + </keybind> |
| 95 | + |
| 96 | + </keyboard> |
| 97 | + |
| 98 | + <!-- ===== MOUSE ===== --> |
| 99 | + <mouse> |
| 100 | + <default /> |
| 101 | + |
| 102 | + <!-- Window dragging with Super+Left Click --> |
| 103 | + <context name="Frame"> |
| 104 | + <mousebind button="W-Left" action="Press"> |
| 105 | + <action name="Move"/> |
| 106 | + </mousebind> |
| 107 | + <mousebind button="W-Right" action="Press"> |
| 108 | + <action name="Resize"/> |
| 109 | + </mousebind> |
| 110 | + </context> |
| 111 | + |
| 112 | + <!-- Title bar actions --> |
| 113 | + <context name="Title"> |
| 114 | + <mousebind button="Left" action="Drag"> |
| 115 | + <action name="Move"/> |
| 116 | + </mousebind> |
| 117 | + <mousebind button="Left" action="DoubleClick"> |
| 118 | + <action name="ToggleMaximize"/> |
| 119 | + </mousebind> |
| 120 | + <mousebind button="Right" action="Press"> |
| 121 | + <action name="ShowMenu"> |
| 122 | + <menu>client-menu</menu> |
| 123 | + </action> |
| 124 | + </mousebind> |
| 125 | + </context> |
| 126 | + |
| 127 | + <!-- Desktop right-click menu --> |
| 128 | + <context name="Root"> |
| 129 | + <mousebind button="Right" action="Press"> |
| 130 | + <action name="ShowMenu"> |
| 131 | + <menu>root-menu</menu> |
| 132 | + </action> |
| 133 | + </mousebind> |
| 134 | + </context> |
| 135 | + |
| 136 | + </mouse> |
| 137 | + |
| 138 | + <!-- ===== DESKTOPS (Virtual Desktops) ===== --> |
| 139 | + <desktops> |
| 140 | + <number>4</number> |
| 141 | + <popupTime>0</popupTime> |
| 142 | + </desktops> |
| 143 | + |
| 144 | + <!-- ===== WINDOW PLACEMENT ===== --> |
| 145 | + <placement> |
| 146 | + <policy>automatic</policy> |
| 147 | + </placement> |
| 148 | + |
| 149 | + <!-- ===== WINDOW RULES ===== --> |
| 150 | + <windowRules> |
| 151 | + <!-- Example: Force certain apps to specific workspaces --> |
| 152 | + <!-- <windowRule identifier="firefox"> |
| 153 | + <action name="SetDesktop"><to>2</to></action> |
| 154 | + </windowRule> --> |
| 155 | + </windowRules> |
| 156 | + |
| 157 | + <!-- ===== RESISTANCE ===== --> |
| 158 | + <resistance> |
| 159 | + <screenEdgeStrength>20</screenEdgeStrength> |
| 160 | + <windowEdgeStrength>20</windowEdgeStrength> |
| 161 | + </resistance> |
| 162 | + |
| 163 | + <!-- ===== FOCUS ===== --> |
| 164 | + <focus> |
| 165 | + <followMouse>no</followMouse> |
| 166 | + <raiseOnFocus>yes</raiseOnFocus> |
| 167 | + </focus> |
| 168 | + |
| 169 | + <!-- ===== MENUS ===== --> |
| 170 | + <!-- Root menu (right-click desktop) --> |
| 171 | + <!-- This would typically be in a separate menu.xml file --> |
| 172 | + |
| 173 | +</labwc_config> |
0 commit comments