diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-03-21 13:19:47 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-03-21 13:19:47 +0800 |
commit | 932248dbab3bc2951be7cb7c25bb6d4d20964e24 (patch) | |
tree | aaaa19ae3cc3bf2d6ace0e62660c9332451cdeda /X11/openbox | |
parent | 62d0ac148a5dbf32f3069010d02768664898458e (diff) |
Improve openbox
Diffstat (limited to 'X11/openbox')
-rw-r--r-- | X11/openbox/rc.xml | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index d7c0345..7c08d18 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml | |||
@@ -105,10 +105,14 @@ | |||
105 | <keyboard> | 105 | <keyboard> |
106 | <keybind key="W-o"> | 106 | <keybind key="W-o"> |
107 | <action name="Execute"> | 107 | <action name="Execute"> |
108 | <command>alacritty --title OPENBOX-CONFIG | 108 | <command> |
109 | -o "window.dimensions.lines=32" | 109 | sh -c ' |
110 | -o "window.dimensions.columns=90" | 110 | xdotool search --name @OPENBOX_CONFIG windowactivate || \ |
111 | -e vim ~/.config/openbox/rc.xml | 111 | alacritty --title @OPENBOX_CONFIG \ |
112 | -o "window.dimensions.lines=32" \ | ||
113 | -o "window.dimensions.columns=90" \ | ||
114 | -e vim ~/.config/openbox/rc.xml \ | ||
115 | ' | ||
112 | </command> | 116 | </command> |
113 | </action> | 117 | </action> |
114 | </keybind> | 118 | </keybind> |
@@ -485,7 +489,7 @@ | |||
485 | </keybind> | 489 | </keybind> |
486 | <keybind key="W-s"> | 490 | <keybind key="W-s"> |
487 | <action name="Execute"> | 491 | <action name="Execute"> |
488 | <command>takeshot --area</command> | 492 | <command>~/bin/takeshot --area</command> |
489 | </action> | 493 | </action> |
490 | </keybind> | 494 | </keybind> |
491 | <!-- ################################ Launch Applications ################################ --> | 495 | <!-- ################################ Launch Applications ################################ --> |
@@ -558,14 +562,12 @@ | |||
558 | </keybind> | 562 | </keybind> |
559 | <keybind key="W-a"> | 563 | <keybind key="W-a"> |
560 | <action name="Execute"> | 564 | <action name="Execute"> |
561 | <command>alacritty --title MPD -e ncmpcpp</command> | ||
562 | </action> | ||
563 | </keybind> | ||
564 | <keybind key="W-S-m"> | ||
565 | <action name="Execute"> | ||
566 | <command> | 565 | <command> |
567 | alacritty --title YOO --class "CONFIRM_BEFORE_CLOSE" | 566 | sh -c ' |
568 | </command> | 567 | xdotool search --name MPD windowactivate || \ |
568 | alacritty --title MPD -e ncmpcpp | ||
569 | ' | ||
570 | </command> | ||
569 | </action> | 571 | </action> |
570 | </keybind> | 572 | </keybind> |
571 | <keybind key="W-m"> | 573 | <keybind key="W-m"> |
@@ -605,9 +607,13 @@ | |||
605 | <keybind key="W-i"> | 607 | <keybind key="W-i"> |
606 | <action name="Execute"> | 608 | <action name="Execute"> |
607 | <command> | 609 | <command> |
608 | alacritty | 610 | sh -c ' |
609 | -o "window.dimensions.lines=30" | 611 | xdotool search --name "Network Manager" windowactivate || \ |
610 | -e nmtui | 612 | alacritty \ |
613 | --title "Network Manager" \ | ||
614 | -o "window.dimensions.lines=30" \ | ||
615 | -e nmtui | ||
616 | ' | ||
611 | </command> | 617 | </command> |
612 | </action> | 618 | </action> |
613 | </keybind> | 619 | </keybind> |