mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-13 20:28:35 +10:00
Openbox: replace termite with alacritty
Termite is obsolete and replaced by alacritty, according to its github repo. Let's replace it.
This commit is contained in:
@@ -212,7 +212,7 @@
|
||||
</item>
|
||||
<item label="Canto RSS Reader">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'canto-curses' -t 'Canto RSS Reader' </execute>
|
||||
<execute>alacritty -t 'Canto RSS Reader' -e 'canto-curses' </execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Deluge">
|
||||
@@ -244,7 +244,7 @@
|
||||
</item>
|
||||
<item label="Irssi IRC">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'irssi' -t 'irssi'</execute>
|
||||
<execute>alacritty -t 'irssi' -e 'irssi'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Jitsi">
|
||||
@@ -254,12 +254,12 @@
|
||||
</item>
|
||||
<item label="Lynx">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'lynx www.google.com' -t 'lynx web browser'</execute>
|
||||
<execute>alacritty -t 'lynx web browser' -e 'lynx www.google.com'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Mutt Email">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'mutt' -t 'mutt email'</execute>
|
||||
<execute>alacritty -t 'mutt email' -e 'mutt'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="TeamViewer">
|
||||
@@ -351,7 +351,7 @@
|
||||
<menu id="root-menu-943454" label="Sound & Video">
|
||||
<item label="AlsaMixer">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'alsamixer' -t 'alsamixer'</execute>
|
||||
<execute>alacritty -t 'alsamixer' -e 'alsamixer'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Anoise ">
|
||||
@@ -492,17 +492,17 @@
|
||||
<menu id="root-menu-454721-901149" label="System Monitoring">
|
||||
<item label="Glances">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'glances' -t 'glances'</execute>
|
||||
<execute>alacritty -t 'glances' -e 'glances'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Htop">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'htop' -t 'htop'</execute>
|
||||
<execute>alacritty -t 'htop' -e 'htop'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Nmon">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'nmon' -t 'nmon'</execute>
|
||||
<execute>alacritty -t 'nmon' -e 'nmon'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Stacer">
|
||||
@@ -512,7 +512,7 @@
|
||||
</item>
|
||||
<item label="Stress Terminal UI">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 's-tui' -t 'Stress Terminal UI'</execute>
|
||||
<execute>alacritty -t 'Stress Terminal UI' -e 's-tui'</execute>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
@@ -561,7 +561,7 @@
|
||||
</item>
|
||||
<item label="Ranger">
|
||||
<action name="Execute">
|
||||
<execute>termite -e 'ranger' -t 'ranger file manager'</execute>
|
||||
<execute>alacritty -t 'ranger file manager' -e 'ranger'</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Snap Store">
|
||||
@@ -720,9 +720,9 @@
|
||||
<execute>alacritty -e nvim ~/.config/qtile/config.py</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Termite Config">
|
||||
<item label="Alacritty Config">
|
||||
<action name="Execute">
|
||||
<execute>alacritty -e nvim ~/.config/termite/config</execute>
|
||||
<execute>alacritty -e nvim ~/.config/alacritty/config</execute>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Xmonad Config">
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
|
||||
|
||||
# output the initial menu
|
||||
# NOTE: If you do not use the "termite" terminal program or the "ranger" file manager, edit the <command> below.
|
||||
# NOTE: If you do not use the "alacritty" terminal program or the "ranger" file manager, edit the <command> below.
|
||||
cat <<EOF
|
||||
<openbox_pipe_menu>
|
||||
<item label="Color Scripts">
|
||||
<action name="Execute">
|
||||
<command>
|
||||
termite -e 'ranger ~/color-scripts'
|
||||
alacritty -e 'ranger ~/color-scripts'
|
||||
</command>
|
||||
</action>
|
||||
</item>
|
||||
@@ -45,10 +45,10 @@ echo " <menu id=\"color-scripts-01-15\" label=\"01-15\">"
|
||||
for file in $(ls ~/shell-color-scripts/* | head -15); do
|
||||
NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev)
|
||||
echo " <menu id=\"$NAME\" label=\"$NAME\">"
|
||||
# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>termite -e '$file' -t '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "alacritty" terminal program, then change "alacritty" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>alacritty -t '$file' -e '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.)
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>termite -e 'vim $file'</execute></action></item>"
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>alacritty -e 'vim $file'</execute></action></item>"
|
||||
echo " </menu>"
|
||||
done
|
||||
echo " </menu>"
|
||||
@@ -58,10 +58,10 @@ echo " <menu id=\"color-scripts-16-30\" label=\"16-30\">"
|
||||
for file in $(ls ~/shell-color-scripts/* | tail -37 | head -15); do
|
||||
NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev)
|
||||
echo " <menu id=\"$NAME\" label=\"$NAME\">"
|
||||
# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>termite -e '$file' -t '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "alacritty" terminal program, then change "alacritty" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>alacritty -t '$file' -e '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.)
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>termite -e 'vim $file'</execute></action></item>"
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>alacritty -e 'vim $file'</execute></action></item>"
|
||||
echo " </menu>"
|
||||
done
|
||||
echo " </menu>"
|
||||
@@ -71,10 +71,10 @@ echo " <menu id=\"color-scripts-31-45\" label=\"31-45\">"
|
||||
for file in $(ls ~/shell-color-scripts/* | tail -22 | head -15); do
|
||||
NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev)
|
||||
echo " <menu id=\"$NAME\" label=\"$NAME\">"
|
||||
# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>termite -e '$file' -t '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "alacritty" terminal program, then change "alacritty" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>alacritty -t '$file' -e '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.)
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>termite -e 'vim $file'</execute></action></item>"
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>alacritty -e 'vim $file'</execute></action></item>"
|
||||
echo " </menu>"
|
||||
done
|
||||
echo " </menu>"
|
||||
@@ -84,10 +84,10 @@ echo " <menu id=\"color-scripts-46+\" label=\"46+\">"
|
||||
for file in $(ls ~/shell-color-scripts/* | tail -7 | head -15); do
|
||||
NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev)
|
||||
echo " <menu id=\"$NAME\" label=\"$NAME\">"
|
||||
# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>termite -e '$file' -t '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "alacritty" terminal program, then change "alacritty" to your preferred terminal (ex. xterm, urxvt, etc.)
|
||||
echo "<item label=\"Run in terminal\"><action name=\"Execute\"><execute>alacritty -t '$file' -e '$file'</execute></action></item>"
|
||||
# NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.)
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>termite -e 'vim $file'</execute></action></item>"
|
||||
echo "<item label=\"Edit in vim\"><action name=\"Execute\"><execute>alacritty -e 'vim $file'</execute></action></item>"
|
||||
echo " </menu>"
|
||||
done
|
||||
echo " </menu>"
|
||||
|
||||
@@ -555,9 +555,9 @@
|
||||
<action name="Execute">
|
||||
<startupnotify>
|
||||
<enabled>true</enabled>
|
||||
<name>Termite</name>
|
||||
<name>Alacritty</name>
|
||||
</startupnotify>
|
||||
<command>termite</command>
|
||||
<command>alacritty</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<!-- Keybindings for running applications -->
|
||||
|
||||
Reference in New Issue
Block a user