From 50d092c8084eccd9ab510686de72fcc9d36428cb Mon Sep 17 00:00:00 2001 From: natemaia Date: Sat, 13 Aug 2022 13:20:28 -0700 Subject: [PATCH] Convert all exo-open commands to use al helper scripts --- bspwm-home/.config/bspwm/sxhkdrc | 14 ++++++++------ dk-home/.config/dk/sxhkdrc | 6 +++--- fluxbox-home/.fluxbox/keys | 8 ++++---- fluxbox-home/.fluxbox/menu | 10 ++++------ i3-gaps-home/.config/i3/config | 12 ++++++------ openbox-home/.config/openbox/menu.xml | 12 ++++++------ openbox-home/.config/openbox/rc.xml | 10 +++++----- 7 files changed, 36 insertions(+), 36 deletions(-) diff --git a/bspwm-home/.config/bspwm/sxhkdrc b/bspwm-home/.config/bspwm/sxhkdrc index 29828b9d..e2d6e93c 100644 --- a/bspwm-home/.config/bspwm/sxhkdrc +++ b/bspwm-home/.config/bspwm/sxhkdrc @@ -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: diff --git a/dk-home/.config/dk/sxhkdrc b/dk-home/.config/dk/sxhkdrc index b3b67088..9e3265b4 100644 --- a/dk-home/.config/dk/sxhkdrc +++ b/dk-home/.config/dk/sxhkdrc @@ -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 diff --git a/fluxbox-home/.fluxbox/keys b/fluxbox-home/.fluxbox/keys index 3f8716dd..b7e39d8c 100644 --- a/fluxbox-home/.fluxbox/keys +++ b/fluxbox-home/.fluxbox/keys @@ -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/' diff --git a/fluxbox-home/.fluxbox/menu b/fluxbox-home/.fluxbox/menu index d4bd0a60..b8c57e7e 100644 --- a/fluxbox-home/.fluxbox/menu +++ b/fluxbox-home/.fluxbox/menu @@ -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} diff --git a/i3-gaps-home/.config/i3/config b/i3-gaps-home/.config/i3/config index ce72cb8e..e9009a38 100644 --- a/i3-gaps-home/.config/i3/config +++ b/i3-gaps-home/.config/i3/config @@ -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 diff --git a/openbox-home/.config/openbox/menu.xml b/openbox-home/.config/openbox/menu.xml index d01fd8ae..d5390cfd 100644 --- a/openbox-home/.config/openbox/menu.xml +++ b/openbox-home/.config/openbox/menu.xml @@ -4,17 +4,17 @@ - exo-open --launch TerminalEmulator + al-terminal - exo-open --launch WebBrowser + al-browser - exo-open --launch FileManager + al-filemanager @@ -53,17 +53,17 @@ - exo-open ~/.config/openbox/menu.xml + xdg-open ~/.config/openbox/menu.xml - exo-open ~/.config/openbox/rc.xml + xdg-open ~/.config/openbox/rc.xml - exo-open ~/.config/openbox/autostart + xdg-open ~/.config/openbox/autostart diff --git a/openbox-home/.config/openbox/rc.xml b/openbox-home/.config/openbox/rc.xml index 154c49f9..3a8cf79c 100644 --- a/openbox-home/.config/openbox/rc.xml +++ b/openbox-home/.config/openbox/rc.xml @@ -249,27 +249,27 @@ - exo-open --launch FileManager + al-filemanager - exo-open --launch TerminalEmulator + al-terminal - exo-open --launch TerminalEmulator + al-terminal - exo-open --launch TerminalEmulator + al-terminal - exo-open --launch WebBrowser + al-browser