|
@@ -9,7 +9,7 @@ _feh(){ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
_tint2(){ |
|
|
_tint2(){ |
|
|
#tint2 -c ~/.dotfiles/tint2rc & |
|
|
|
|
|
|
|
|
#tint2 -c ~/.dotfiles/tint2rc & |
|
|
(sleep 1s && tint2) & |
|
|
(sleep 1s && tint2) & |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@@ -35,17 +35,17 @@ _gsoundap(){ |
|
|
|
|
|
|
|
|
_conky(){ |
|
|
_conky(){ |
|
|
(sleep 1s && \ |
|
|
(sleep 1s && \ |
|
|
conky -config="$HOME/conkyrc" --daemonize >~/.var/log/conky.log 2>&1) |
|
|
|
|
|
|
|
|
conky -config="$HOME/conkyrc" --daemonize >~/.var/log/conky.log 2>&1) |
|
|
#conky -c ~/.dotfiles/conkyrc.2 >~/.var/log/conky.2.log 2>&1 & |
|
|
#conky -c ~/.dotfiles/conkyrc.2 >~/.var/log/conky.2.log 2>&1 & |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
_wicd(){ |
|
|
_wicd(){ |
|
|
# done by /etc/xdg/autostart/wicd-client.desktop |
|
|
|
|
|
|
|
|
# done by /etc/xdg/autostart/wicd-client.desktop |
|
|
wicd-client --tray & |
|
|
wicd-client --tray & |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
_udisksvm(){ |
|
|
_udisksvm(){ |
|
|
# detect insertion of an optical disk |
|
|
|
|
|
|
|
|
# detect insertion of an optical disk |
|
|
if ! pgrep -lf "udisks-daemon: polling /dev/sr0"; then |
|
|
if ! pgrep -lf "udisks-daemon: polling /dev/sr0"; then |
|
|
udisks --poll-for-media /dev/sr0 |
|
|
udisks --poll-for-media /dev/sr0 |
|
|
fi |
|
|
fi |
|
@@ -100,7 +100,7 @@ _macbook_rightclick(){ |
|
|
true |
|
|
true |
|
|
else |
|
|
else |
|
|
(sleep 2s && \ |
|
|
(sleep 2s && \ |
|
|
gksudo -g -- sh -c "sysctl ${_mrc_emutgt}=1 ${_mrc_codetgt}=126 | \ |
|
|
|
|
|
|
|
|
gksudo -g -- sh -c "sysctl ${_mrc_emutgt}=1 ${_mrc_codetgt}=126 | \ |
|
|
logger -t macbook_rightclick") & |
|
|
logger -t macbook_rightclick") & |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|