Multiple desktop environments * (Default) Openbox/tint2/conky * (Alt) i3-gaps/i3status * Added i3 cmdline switch to use i3-gaps instead of openbox * Added IP status to conky * Added hfsprogs (again) * New themes for dunst, ls, rofi, urxvt * ls colors make NTFS mod 777 folders readable * Disabled screen blanking (again) * Didn't disable DPMS before * Fix SSH key permissions
13 lines
360 B
Bash
13 lines
360 B
Bash
setterm -blank 0 -powerdown 0
|
|
if [ "$(fgconsole 2>/dev/null)" -eq "1" ]; then
|
|
if ! fgrep -q "nox" /proc/cmdline; then
|
|
if fgrep -q "i3" /proc/cmdline; then
|
|
sed -i -r 's/#(own_window_type override)/\1/' ~/.conkyrc
|
|
sed -i -r 's/openbox-session/i3/' ~/.xinitrc
|
|
fi
|
|
startx
|
|
else
|
|
hw-diags cli
|
|
fi
|
|
fi
|
|
|