diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-07-17 22:15:47 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-07-17 22:15:47 +0800 |
commit | 73526cac46e085e2e0769007d0910dc833e3f630 (patch) | |
tree | ef2186ac2c773f5718981b0c27a97b8a88d4fdae /X11/openbox/rc.xml | |
parent | dda043def4ded78157919e52136f2a353ae0d519 (diff) |
Update
Diffstat (limited to 'X11/openbox/rc.xml')
-rw-r--r-- | X11/openbox/rc.xml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index 7745ad2..fa57878 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml | |||
@@ -159,7 +159,7 @@ | |||
159 | </action> | 159 | </action> |
160 | </keybind> | 160 | </keybind> |
161 | <!-- Switch b/w Applications --> | 161 | <!-- Switch b/w Applications --> |
162 | <keybind key="W-Tab"> | 162 | <keybind key="A-Tab"> |
163 | <action name="NextWindow"> | 163 | <action name="NextWindow"> |
164 | <allDesktops>no</allDesktops> | 164 | <allDesktops>no</allDesktops> |
165 | <raise>yes</raise> | 165 | <raise>yes</raise> |
@@ -171,7 +171,7 @@ | |||
171 | </finalactions> | 171 | </finalactions> |
172 | </action> | 172 | </action> |
173 | </keybind> | 173 | </keybind> |
174 | <keybind key="A-Tab"> | 174 | <keybind key="W-Tab"> |
175 | <action name="NextWindow"> | 175 | <action name="NextWindow"> |
176 | <allDesktops>yes</allDesktops> | 176 | <allDesktops>yes</allDesktops> |
177 | <!-- Hide black border around windows --> | 177 | <!-- Hide black border around windows --> |
@@ -260,6 +260,14 @@ | |||
260 | <keybind key="W-c"> | 260 | <keybind key="W-c"> |
261 | <action name="MoveToCenter"/> | 261 | <action name="MoveToCenter"/> |
262 | </keybind> | 262 | </keybind> |
263 | <keybind key="W-c"> | ||
264 | <action name="MoveResizeTo"> | ||
265 | <!-- center the window on the first monitor --> | ||
266 | <x>center</x> | ||
267 | <y>center</y> | ||
268 | <monitor>2</monitor> | ||
269 | </action> | ||
270 | </keybind> | ||
263 | <keybind key="W-F1"> | 271 | <keybind key="W-F1"> |
264 | <action name="ToggleAlwaysOnTop"/> | 272 | <action name="ToggleAlwaysOnTop"/> |
265 | </keybind> | 273 | </keybind> |
@@ -597,7 +605,7 @@ | |||
597 | <action name="Execute"> | 605 | <action name="Execute"> |
598 | <command> | 606 | <command> |
599 | sh -c ' | 607 | sh -c ' |
600 | xdotool search --name MPD windowactivate || \ | 608 | xdotool search --name MPD windowquit || \ |
601 | alacritty --title MPD -e ncmpcpp | 609 | alacritty --title MPD -e ncmpcpp |
602 | ' | 610 | ' |
603 | </command> | 611 | </command> |