From a10181eae53acf891638bee24dfda15c26542092 Mon Sep 17 00:00:00 2001 From: Aijaz Mohammad Date: Wed, 26 Jul 2023 22:22:07 +0100 Subject: [PATCH] Openbox: replace termite with alacritty Termite is obsolete and replaced by alacritty, according to its github repo. Let's replace it. --- .config/openbox/menu.xml | 24 ++++++++-------- .../openbox/pipemenus/shell-color-scripts.sh | 28 +++++++++---------- .config/openbox/rc.xml | 4 +-- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.config/openbox/menu.xml b/.config/openbox/menu.xml index bc51ed5..00b4417 100755 --- a/.config/openbox/menu.xml +++ b/.config/openbox/menu.xml @@ -212,7 +212,7 @@ - termite -e 'canto-curses' -t 'Canto RSS Reader' + alacritty -t 'Canto RSS Reader' -e 'canto-curses' @@ -244,7 +244,7 @@ - termite -e 'irssi' -t 'irssi' + alacritty -t 'irssi' -e 'irssi' @@ -254,12 +254,12 @@ - termite -e 'lynx www.google.com' -t 'lynx web browser' + alacritty -t 'lynx web browser' -e 'lynx www.google.com' - termite -e 'mutt' -t 'mutt email' + alacritty -t 'mutt email' -e 'mutt' @@ -351,7 +351,7 @@ - termite -e 'alsamixer' -t 'alsamixer' + alacritty -t 'alsamixer' -e 'alsamixer' @@ -492,17 +492,17 @@ - termite -e 'glances' -t 'glances' + alacritty -t 'glances' -e 'glances' - termite -e 'htop' -t 'htop' + alacritty -t 'htop' -e 'htop' - termite -e 'nmon' -t 'nmon' + alacritty -t 'nmon' -e 'nmon' @@ -512,7 +512,7 @@ - termite -e 's-tui' -t 'Stress Terminal UI' + alacritty -t 'Stress Terminal UI' -e 's-tui' @@ -561,7 +561,7 @@ - termite -e 'ranger' -t 'ranger file manager' + alacritty -t 'ranger file manager' -e 'ranger' @@ -720,9 +720,9 @@ alacritty -e nvim ~/.config/qtile/config.py - + - alacritty -e nvim ~/.config/termite/config + alacritty -e nvim ~/.config/alacritty/config diff --git a/.config/openbox/pipemenus/shell-color-scripts.sh b/.config/openbox/pipemenus/shell-color-scripts.sh index 6cc2c13..6b02422 100755 --- a/.config/openbox/pipemenus/shell-color-scripts.sh +++ b/.config/openbox/pipemenus/shell-color-scripts.sh @@ -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 below. +# NOTE: If you do not use the "alacritty" terminal program or the "ranger" file manager, edit the below. cat < - termite -e 'ranger ~/color-scripts' + alacritty -e 'ranger ~/color-scripts' @@ -45,10 +45,10 @@ echo " " for file in $(ls ~/shell-color-scripts/* | head -15); do NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev) echo " " -# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.) -echo "termite -e '$file' -t '$file'" +# NOTE: If you do not use the "alacritty" terminal program, then change "alacritty" to your preferred terminal (ex. xterm, urxvt, etc.) +echo "alacritty -t '$file' -e '$file'" # NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.) -echo "termite -e 'vim $file'" +echo "alacritty -e 'vim $file'" echo " " done echo " " @@ -58,10 +58,10 @@ echo " " for file in $(ls ~/shell-color-scripts/* | tail -37 | head -15); do NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev) echo " " -# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.) -echo "termite -e '$file' -t '$file'" +# NOTE: If you do not use the "alacritty" terminal program, then change "alacritty" to your preferred terminal (ex. xterm, urxvt, etc.) +echo "alacritty -t '$file' -e '$file'" # NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.) -echo "termite -e 'vim $file'" +echo "alacritty -e 'vim $file'" echo " " done echo " " @@ -71,10 +71,10 @@ echo " " for file in $(ls ~/shell-color-scripts/* | tail -22 | head -15); do NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev) echo " " -# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.) -echo "termite -e '$file' -t '$file'" +# NOTE: If you do not use the "alacritty" terminal program, then change "alacritty" to your preferred terminal (ex. xterm, urxvt, etc.) +echo "alacritty -t '$file' -e '$file'" # NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.) -echo "termite -e 'vim $file'" +echo "alacritty -e 'vim $file'" echo " " done echo " " @@ -84,10 +84,10 @@ echo " " for file in $(ls ~/shell-color-scripts/* | tail -7 | head -15); do NAME=$(echo "$file" | rev | cut -d"/" -f1 | rev) echo " " -# NOTE: If you do not use the "termite" terminal program, then change "termite" to your preferred terminal (ex. xterm, urxvt, etc.) -echo "termite -e '$file' -t '$file'" +# NOTE: If you do not use the "alacritty" terminal program, then change "alacritty" to your preferred terminal (ex. xterm, urxvt, etc.) +echo "alacritty -t '$file' -e '$file'" # NOTE: If you do not use the "vim" text editor, then change "vim" to your preferred editor (ex. nano, geany, etc.) -echo "termite -e 'vim $file'" +echo "alacritty -e 'vim $file'" echo " " done echo " " diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml index 6301a9b..cc87504 100755 --- a/.config/openbox/rc.xml +++ b/.config/openbox/rc.xml @@ -555,9 +555,9 @@ true - Termite + Alacritty - termite + alacritty