mbxcolors -> colormenu
This commit is contained in:
parent
84188f0f06
commit
7724630c06
@ -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
|
||||
|
@ -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
|
||||
|
|
@ -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.
|
@ -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.
|
@ -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
|
||||
|
|
@ -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.
|
Loading…
Reference in New Issue
Block a user