diff options
-rw-r--r-- | X11/openbox/rc.xml | 14 | ||||
-rw-r--r-- | init.lua | 2 |
2 files changed, 12 insertions, 4 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> |
@@ -421,7 +421,7 @@ local on_attach = function(_, bufnr) | |||
421 | 421 | ||
422 | -- See `:help K` for why this keymap | 422 | -- See `:help K` for why this keymap |
423 | nmap('K', vim.lsp.buf.hover, 'Hover Documentation') | 423 | nmap('K', vim.lsp.buf.hover, 'Hover Documentation') |
424 | nmap('<C-k>', vim.lsp.buf.signature_help, 'Signature Documentation') | 424 | nmap('<leader>k', vim.lsp.buf.signature_help, 'Signature Documentation') |
425 | 425 | ||
426 | -- Lesser used LSP functionality | 426 | -- Lesser used LSP functionality |
427 | nmap('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration') | 427 | nmap('gD', vim.lsp.buf.declaration, '[G]oto [D]eclaration') |