aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-03-30 14:19:54 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-03-30 14:19:54 +0800
commitfbe3ed387bfff14b7746b84808bf6c3cc8e00f0a (patch)
tree42dffaa8bf40c181eca9c3b2a3f23e3aa9b5b34a
parent487a55a51a615fd8ede4c622f605b5cd7a29e876 (diff)
Improve browser focus
-rw-r--r--X11/openbox/rc.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml
index a7e6e5d..95dd894 100644
--- a/X11/openbox/rc.xml
+++ b/X11/openbox/rc.xml
@@ -559,7 +559,12 @@
559 </keybind> 559 </keybind>
560 <keybind key="W-w"> 560 <keybind key="W-w">
561 <action name="Execute"> 561 <action name="Execute">
562 <command>firefox</command> 562 <command>
563 sh -c '
564 xdotool search --onlyvisible --classname Navigator windowactivate || \
565 firefox
566 '
567 </command>
563 </action> 568 </action>
564 </keybind> 569 </keybind>
565 <!-- Rofi --> 570 <!-- Rofi -->