rc.xml and .bashrc for Istredd
parent
39eed9a0c7
commit
c7553777ed
|
@ -161,9 +161,12 @@ export THEME_HISTFILE=~/.theme_history
|
||||||
[ -e "$THEME_HISTFILE" ] && theme.sh "$(theme.sh -l|tail -n1)"
|
[ -e "$THEME_HISTFILE" ] && theme.sh "$(theme.sh -l|tail -n1)"
|
||||||
alias th='theme.sh -i2'
|
alias th='theme.sh -i2'
|
||||||
|
|
||||||
|
ROOT_TERMINAL_THEME="red-alert"
|
||||||
|
SSH_TERMINAL_THEME="mellow-purple"
|
||||||
|
|
||||||
su() {
|
su() {
|
||||||
(
|
(
|
||||||
INHIBIT_THEME_HIST=1 theme.sh red-alert
|
INHIBIT_THEME_HIST=1 theme.sh ${ROOT_TERMINAL_THEME}
|
||||||
trap 'theme.sh "$(theme.sh -l|tail -n1)"' INT
|
trap 'theme.sh "$(theme.sh -l|tail -n1)"' INT
|
||||||
env su "$@"
|
env su "$@"
|
||||||
theme.sh "$(theme.sh -l|tail -n1)"
|
theme.sh "$(theme.sh -l|tail -n1)"
|
||||||
|
@ -181,7 +184,7 @@ sudo() {
|
||||||
|
|
||||||
(
|
(
|
||||||
sleep .2s
|
sleep .2s
|
||||||
ps -p "$pid" > /dev/null && INHIBIT_THEME_HIST=1 theme.sh red-alert
|
ps -p "$pid" > /dev/null && INHIBIT_THEME_HIST=1 theme.sh ${ROOT_TERMINAL_THEME}
|
||||||
) &
|
) &
|
||||||
|
|
||||||
trap 'theme.sh "$(theme.sh -l|tail -n1)"' INT
|
trap 'theme.sh "$(theme.sh -l|tail -n1)"' INT
|
||||||
|
@ -192,7 +195,7 @@ sudo() {
|
||||||
|
|
||||||
ssh() {
|
ssh() {
|
||||||
(
|
(
|
||||||
INHIBIT_THEME_HIST=1 theme.sh selenized-dark
|
INHIBIT_THEME_HIST=1 theme.sh ${SSH_TERMINAL_THEME}
|
||||||
trap 'theme.sh "$(theme.sh -l|tail -n1)"' INT
|
trap 'theme.sh "$(theme.sh -l|tail -n1)"' INT
|
||||||
env ssh "$@"
|
env ssh "$@"
|
||||||
theme.sh "$(theme.sh -l|tail -n1)"
|
theme.sh "$(theme.sh -l|tail -n1)"
|
||||||
|
|
|
@ -1310,12 +1310,22 @@
|
||||||
<command>conkyctl contextmenu</command>
|
<command>conkyctl contextmenu</command>
|
||||||
</action>
|
</action>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
|
<mousebind action="Press" button="C-Left">
|
||||||
|
<action name="Execute">
|
||||||
|
<command>conkyctl makemoveableall</command>
|
||||||
|
</action>
|
||||||
|
</mousebind>
|
||||||
</context>
|
</context>
|
||||||
<context name="Root">
|
<context name="Root">
|
||||||
<!-- Menus -->
|
<!-- Menus -->
|
||||||
<mousebind button="Left" action="Press">
|
<mousebind button="Left" action="Press">
|
||||||
<action name="ToggleShowDesktop"/>
|
<action name="ToggleShowDesktop"/>
|
||||||
</mousebind>
|
</mousebind>
|
||||||
|
<mousebind action="Press" button="C-Left">
|
||||||
|
<action name="Execute">
|
||||||
|
<command>skippy-xd-fix</command>
|
||||||
|
</action>
|
||||||
|
</mousebind>
|
||||||
<mousebind action="Press" button="Middle">
|
<mousebind action="Press" button="Middle">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>jgdesktops -s</command>
|
<command>jgdesktops -s</command>
|
||||||
|
|
Loading…
Reference in New Issue