mbxcolors -> colormenu

This commit is contained in:
Daniel Napora 2022-06-11 13:47:32 +02:00
parent 84188f0f06
commit 7724630c06
6 changed files with 49 additions and 5 deletions

View File

@ -161,6 +161,50 @@ export THEME_HISTFILE=~/.theme_history
[ -e "$THEME_HISTFILE" ] && theme.sh "$(theme.sh -l|tail -n1)"
alias th='theme.sh -i2'
su() {
(
INHIBIT_THEME_HIST=1 theme.sh red-alert
trap 'theme.sh "$(theme.sh -l|tail -n1)"' INT
env su "$@"
theme.sh "$(theme.sh -l|tail -n1)"
)
}
sudo() {
(
pid=$(exec sh -c 'echo "$PPID"')
# If the command takes less than .2s, don't change the theme.
# We could also just match on 'su' and ignore everything else,
# but this also accomodates other long running commands
# like 'sudo sleep 5s'. Modify to taste.
(
sleep .2s
ps -p "$pid" > /dev/null && INHIBIT_THEME_HIST=1 theme.sh red-alert
) &
trap 'theme.sh "$(theme.sh -l|tail -n1)"' INT
env sudo "$@"
theme.sh "$(theme.sh -l|tail -n1)"
)
}
ssh() {
(
INHIBIT_THEME_HIST=1 theme.sh selenized-dark
trap 'theme.sh "$(theme.sh -l|tail -n1)"' INT
env ssh "$@"
theme.sh "$(theme.sh -l|tail -n1)"
)
}
# Git prompt
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
GIT_PROMPT_ONLY_IN_REPO=1
source $HOME/.bash-git-prompt/gitprompt.sh
fi
# Fuzzy Finder (fzf)
source /usr/share/fzf/completion.bash
source /usr/share/fzf/key-bindings.bash

View File

@ -44,7 +44,7 @@
<b><tt> super-alt-t </tt></b> <i> Tile helper</i>,jgtile,,,#pipemenu
<b><tt> super-alt-h </tt></b> <i> History helper</i>,jghistory-pipe -s,,,#pipemenu
<b><tt> super-alt-e </tt></b> <i> Espanso - text expander</i>,jgespanso-pipe -s,,,#pipemenu
<b><tt> super-alt-c </tt></b> <i> Color Menu</i>,mbxcolors
<b><tt> super-alt-c </tt></b> <i> Color Menu</i>,colormenu
<b><tt> super-alt-o </tt></b> <i> Colorizer</i>,colorizer -s
<b><tt> super-alt-m </tt></b> <i> Configure Menu/Sidepanels</i>,jgmenusettings-pipe -s,,,#pipemenu
<b><tt> super-alt-w </tt></b> <i> Configure Wallpaper and ScreenLocker</i>,jgwallpaperchanger -s,,,#pipemenu

1 ^sep(Applications)
44 <b><tt> super-alt-o </tt></b> <i> Colorizer</i>,colorizer -s
45 <b><tt> super-alt-m </tt></b> <i> Configure Menu/Sidepanels</i>,jgmenusettings-pipe -s,,,#pipemenu
46 <b><tt> super-alt-w </tt></b> <i> Configure Wallpaper and ScreenLocker</i>,jgwallpaperchanger -s,,,#pipemenu
47 <b><tt> super-alt-k </tt></b> <i> Configure Conky</i>,jgconky-pipe -s,,,#pipemenu
48 <b><tt> super-alt-p </tt></b> <i> Configure Tint2 panel</i>,jgtint2-pipe -s,,,#pipemenu
49 <b><tt> </tt></b> <i> DesktopGrid menu</i>,jgdeskgrid -s,,,#pipemenu#gap#column#row
50 <b><tt> </tt></b> <i> DeskMngr menu</i>,jgdeskmngr -s,,,#pipemenu

View File

@ -11,7 +11,7 @@
##########################
^sep(Your own commands)
<b>ColorMenu</b>,mbxcolors
<b>ColorMenu</b>,colormenu
<b>FSearch</b>,fsearch
<b>PyRadio</b> - <i>Internet Radio Player</i>,terminator -T "PyRadio" --geometry=420x440-20-20 -e "pyradio -p"
#Newsboat - <i>RSS Reader</i>,^term(newsboat)

Can't render this file because it contains an unexpected character in line 16 and column 61.

View File

@ -10,7 +10,7 @@
# Comment out line to disable
##########################
^sep(Agrega tus programas aquí)
<b>ColorMenu</b>,mbxcolors
<b>ColorMenu</b>,colormenu
<b>FSearch</b> - <i>Buscar archivos</i>,fsearch
<b>PyRadio</b> - <i>Radios de Internet</i>,terminator -T "PyRadio" --geometry=420x440-20-20 -e "pyradio -p"
#Newsboat - <i>Lector de RSS</i>,^term(newsboat)

Can't render this file because it contains an unexpected character in line 15 and column 58.

View File

@ -43,7 +43,7 @@
<b><tt> super-alt-t </tt></b> <i> Tile helper</i>,jgtile,,,#pipemenu
<b><tt> super-alt-h </tt></b> <i> Historia</i>,jghistory-pipe -s,,,#pipemenu
<b><tt> super-alt-e </tt></b> <i> Espanso - text expander</i>,jgespanso-pipe -s,,,#pipemenu
<b><tt> super-alt-c </tt></b> <i> Menu Kolorów</i>,mbxcolors
<b><tt> super-alt-c </tt></b> <i> Menu Kolorów</i>,colormenu
<b><tt> super-alt-o </tt></b> <i> Colorizer</i>,colorizer -s
<b><tt> super-alt-m </tt></b> <i> Konfiguracja Menu/Paneli</i>,jgmenusettings-pipe -s,,,#pipemenu
<b><tt> super-alt-w </tt></b> <i> Konfiguracja Tapety i Blokady Ekranu</i>,jgwallpaperchanger -s,,,#pipemenu

1 ^sep(Programy)
43 <b><tt> super-alt-o </tt></b> <i> Colorizer</i>,colorizer -s
44 <b><tt> super-alt-m </tt></b> <i> Konfiguracja Menu/Paneli</i>,jgmenusettings-pipe -s,,,#pipemenu
45 <b><tt> super-alt-w </tt></b> <i> Konfiguracja Tapety i Blokady Ekranu</i>,jgwallpaperchanger -s,,,#pipemenu
46 <b><tt> super-alt-k </tt></b> <i> Konfiguracja Conky</i>,jgconky-pipe -s,,,#pipemenu
47 <b><tt> super-alt-p </tt></b> <i> Konfiguracja panelu Tint2</i>,jgtint2-pipe -s,,,#pipemenu
48 <b><tt> </tt></b> <i> DesktopGrid menu</i>,jgdeskgrid -s,,,#pipemenu#gap#column#row
49 <b><tt> </tt></b> <i> DeskMngr menu</i>,jgdeskmngr -s,,,#pipemenu

View File

@ -10,7 +10,7 @@
##########################
^sep(Własne)
<b>Picker kolorów</b>,mbxcolors
<b>Menu kolorów</b>,colormenu
<b>PyRadio</b> - <i>Internet Radio Player</i>,terminator -T "PyRadio" --geometry=420x440-20-20 -e "pyradio -p"
<b>Lxtask</b> - <i>menadżer zadań GUI</i>,lxtask
<b>btop</b> - <i>menadżer zadań CLI</i>,^term(btop)

Can't render this file because it contains an unexpected character in line 14 and column 61.