Minor changes, migration to mmlin
This commit is contained in:
parent
49a7fbd840
commit
250442be1c
44
i3/MMLin-status.conf
Normal file
44
i3/MMLin-status.conf
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
#i3status config
|
||||||
|
general {
|
||||||
|
output_format= "i3bar"
|
||||||
|
colors = true
|
||||||
|
#color_good = '#ffffff'
|
||||||
|
#color_degraded = '#ffffff'
|
||||||
|
#color_bad = '#ffffff'
|
||||||
|
color_good = '#00ff00'
|
||||||
|
color_degraded = '#ff0000'
|
||||||
|
color_bad = '#ff0000'
|
||||||
|
interval = 1
|
||||||
|
}
|
||||||
|
order += "disk /"
|
||||||
|
order += "ethernet tun0"
|
||||||
|
order += "ethernet enp2s0f0"
|
||||||
|
order += "volume master"
|
||||||
|
order += "tztime local"
|
||||||
|
ethernet tun0 {
|
||||||
|
format_up = "%ip"
|
||||||
|
format_down = "!T"
|
||||||
|
}
|
||||||
|
ethernet enp2s0f0 {
|
||||||
|
# if you use %speed, i3status requires root privileges
|
||||||
|
format_up = "%ip (%speed)"
|
||||||
|
format_down = "!E"
|
||||||
|
}
|
||||||
|
tztime local {
|
||||||
|
format = "%a %b%e %r"
|
||||||
|
#:%M:%S
|
||||||
|
}
|
||||||
|
load {
|
||||||
|
format = "%5min"
|
||||||
|
}
|
||||||
|
volume master {
|
||||||
|
format = "V:%volume"
|
||||||
|
format_muted = "V: 0%"
|
||||||
|
device = "default"
|
||||||
|
mixer = "Master"
|
||||||
|
mixer_idx = 0
|
||||||
|
}
|
||||||
|
disk "/" {
|
||||||
|
format = "%free"
|
||||||
|
}
|
||||||
|
# vim: ts=4:sw=4:et
|
@ -36,18 +36,15 @@ if len(swap) == 2:
|
|||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
if [ "$1" = "boot" ];then
|
if [ "$1" = "boot" ];then
|
||||||
|
test -f ~/.screenlayout/default.sh && ~/.screenlayout/default.sh
|
||||||
/usr/bin/xset -b
|
/usr/bin/xset -b
|
||||||
/usr/bin/xset +fp /usr/share/fonts/X11/misc
|
/usr/bin/xset +fp /usr/share/fonts/X11/misc
|
||||||
/usr/bin/xset +fp /usr/share/fonts/X11/Type1
|
/usr/bin/xset +fp /usr/share/fonts/X11/Type1
|
||||||
/usr/bin/xset +fp built-ins
|
/usr/bin/xset +fp built-ins
|
||||||
/usr/bin/xset s off
|
/usr/bin/xset s off
|
||||||
/usr/bin/xset -dpms
|
/usr/bin/xset -dpms
|
||||||
urxvtd -q -f -o
|
/usr/bin/urxvtd -q -f -o
|
||||||
if [ -f /usr/local/bin/i3 ]; then
|
$(which ck-launch-session 2>/dev/null) $(which i3)
|
||||||
/usr/bin/ck-launch-session /usr/local/bin/i3
|
|
||||||
elif [ -f /usr/bin/i3 ]; then
|
|
||||||
/usr/bin/ck-launch-session /usr/bin/i3
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
if [ "$1" = "screen-lock" ];then
|
if [ "$1" = "screen-lock" ];then
|
||||||
revert(){
|
revert(){
|
||||||
|
@ -141,9 +141,7 @@ if test -f /etc/gentoo-release; then
|
|||||||
echo "You're a server. Exiting"
|
echo "You're a server. Exiting"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
cd /usr/portage >/dev/null
|
sudo zsh -c "git -C /usr/portage pull&&echo Done pulling&&eix-update&&echo Done with eix"
|
||||||
sudo zsh -c "git up&&echo Done pulling&&eix-update&&echo Done with eix"
|
|
||||||
cd ->/dev/null
|
|
||||||
echo '\a'
|
echo '\a'
|
||||||
}
|
}
|
||||||
elif test -f /etc/lsb-release; then
|
elif test -f /etc/lsb-release; then
|
||||||
|
Loading…
Reference in New Issue
Block a user