Convert all exo-open commands to use al helper scripts

This commit is contained in:
natemaia 2022-08-13 13:20:28 -07:00
parent 089169fb3d
commit 50d092c808
7 changed files with 36 additions and 36 deletions

View File

@ -1,21 +1,23 @@
# web browser
super + w
exo-open --launch WebBrowser
al-browser
# terminal emulator
super + Return
exo-open --launch TerminalEmulator
al-terminal
super + t
al-terminal
alt + shift + Return
al-terminal
# file manager
super + f
exo-open --launch FileManager
al-filemanager
# program launcher
super + @space
rofi_run -r
# program launcher
alt + F1
alt + p
rofi_run -r
# make sxhkd reload its configuration files:

View File

@ -3,11 +3,11 @@
# terminal emulator
super + Return
exo-open --launch TerminalEmulator
al-terminal
alt + shift + Return
exo-open --launch TerminalEmulator
al-terminal
super + t
exo-open --launch TerminalEmulator
al-terminal
# program launcher
alt + p

View File

@ -128,7 +128,8 @@ Control Mod4 F11 :TakeToWorkspace 11
Control Mod4 F12 :TakeToWorkspace 12
# open a terminal
Mod4 t :Exec exo-open --launch TerminalEmulator
Mod4 t :Exec al-terminal
Shift Enter p :Exec al-terminal
# open a dialog to run programs
Mod1 F2 :Exec fbrun
@ -148,9 +149,8 @@ XF86AudioNext :Exec playerctl next
XF86MonBrightnessUp :Exec xbacklight +10
XF86MonBrightnessDown :Exec xbacklight -10
Mod4 w :Exec exo-open --launch WebBrowser
Mod4 f :Exec exo-open --launch FileManager
Mod4 e :Exec geany
Mod4 w :Exec al-browser
Mod4 f :Exec al-filemanager
Mod4 Print :Exec scrot -q 100 '%B_%s_$wx$h.png' -e 'mv $f ~/Pictures/'

View File

@ -16,13 +16,11 @@
# session.menuFile: ~/.fluxbox/my-menu
[begin] (Fluxbox-1.3.7)
[encoding] {UTF-8}
[exec] (Run) {rofi -show run}
[exec] (Run) {rofi_run}
[separator]
[exec] (Terminal) {exo-open --launch TerminalEmulator}
[exec] (File Manager) {exo-open --launch FileManager}
[separator]
[exec] (Browser) {exo-open --launch WebBrowser}
[exec] (Mail) {exo-open --launch MailReader}
[exec] (Terminal) {al-terminal}
[exec] (File Manager) {al-filemanager}
[exec] (Browser) {al-browser}
[separator]
[submenu] (Settings)
[exec] (Wallpaper) {nitrogen}

View File

@ -46,12 +46,12 @@ bindsym Mod1+q kill
bindsym Mod1+F4 kill
# core
bindsym $Mod+w exec --no-startup-id exo-open --launch WebBrowser
bindsym $Mod+f exec --no-startup-id exo-open --launch FileManager
bindsym $Mod+t exec --no-startup-id exo-open --launch TerminalEmulator
bindsym $Mod+Return exec --no-startup-id exo-open --launch TerminalEmulator
bindsym Mod1+Shift+Return exec --no-startup-id exo-open --launch TerminalEmulator
bindsym Control+Shift+t exec --no-startup-id exo-open --launch TerminalEmulator
bindsym $Mod+w exec --no-startup-id al-browser
bindsym $Mod+f exec --no-startup-id al-filemanager
bindsym $Mod+t exec --no-startup-id al-terminal
bindsym $Mod+Return exec --no-startup-id al-terminal
bindsym Mod1+Shift+Return exec --no-startup-id al-terminal
bindsym Control+Shift+t exec --no-startup-id al-terminal
# logout script
bindsym $Mod+x exec --no-startup-id rofi_run -l

View File

@ -4,17 +4,17 @@
<separator label="ArchLabs"/>
<item label="Terminal">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
<command>al-terminal</command>
</action>
</item>
<item label="Web Browser">
<action name="Execute">
<command>exo-open --launch WebBrowser</command>
<command>al-browser</command>
</action>
</item>
<item label="File Manager">
<action name="Execute">
<command>exo-open --launch FileManager</command>
<command>al-filemanager</command>
</action>
</item>
<separator/>
@ -53,17 +53,17 @@
<separator/>
<item label="Edit menu.xml">
<action name="Execute">
<command>exo-open ~/.config/openbox/menu.xml</command>
<command>xdg-open ~/.config/openbox/menu.xml</command>
</action>
</item>
<item label="Edit rc.xml">
<action name="Execute">
<command>exo-open ~/.config/openbox/rc.xml</command>
<command>xdg-open ~/.config/openbox/rc.xml</command>
</action>
</item>
<item label="Edit autostart">
<action name="Execute">
<command>exo-open ~/.config/openbox/autostart</command>
<command>xdg-open ~/.config/openbox/autostart</command>
</action>
</item>
<separator/>

View File

@ -249,27 +249,27 @@
</keybind>
<keybind key="W-f">
<action name="Execute">
<command>exo-open --launch FileManager</command>
<command>al-filemanager</command>
</action>
</keybind>
<keybind key="W-t">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
<command>al-terminal</command>
</action>
</keybind>
<keybind key="C-A-t">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
<command>al-terminal</command>
</action>
</keybind>
<keybind key="W-Return">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
<command>al-terminal</command>
</action>
</keybind>
<keybind key="W-w">
<action name="Execute">
<command>exo-open --launch WebBrowser</command>
<command>al-browser</command>
</action>
</keybind>
<keybind key="W-v">