Hyperling
791dc245a6
* Add volume key controls. * Add placeholder for LBRY app. * Refactor gui into gnome and packages. Remove deprecated lineinfiles. Enhance package management. * Variablize tar to fix FreeBSD. * Variablize tar to fix FreeBSD. * Take FreeBSD gui.yml refactor into account. * Unfinished changes to use self-signed cert so local traffic can hit https. Server starts fine, but getting "gnutls_handshake() failed: An unexpected TLS packet was received." on client's `git clone`. * Make D2D optional. FreeBSD is still having a hard time compiling it. * Use a block for Dash To Dock so only one ignore_errors is necessary. * Deprecate miner section since machines have been decommissioned. * Remove deprecated file. * Switch to lightdm on FreeBSD. * Automate GPU driver installation. * Updated DWM config and added TODO's. * Move lynis to src folder for cleanliness. * Remove debug. * Refactor for "shared" system type folder. * Fix FreeBSD gpu.yml location. * Add a default hosts file to hide warnings.
46 lines
684 B
Bash
46 lines
684 B
Bash
#!/bin/bash
|
|
# 2021-10-30 Hyperling
|
|
# Basically .xinitrc, but not placed there to avoid GDM/GNOME problems.
|
|
|
|
## Load System Libs ##
|
|
|
|
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
|
for f in /etc/X11/xinit/xinitrc.d/*; do
|
|
[ -x "$f" ] && . "$f"
|
|
done
|
|
unset f
|
|
fi
|
|
|
|
if [ -d /usr/local/etc/X11/xinit/xinitrc.d ]; then
|
|
for f in /usr/local/etc/X11/xinit/xinitrc.d/*; do
|
|
[ -x "$f" ] && . "$f"
|
|
done
|
|
unset f
|
|
fi
|
|
|
|
|
|
## Variables ##
|
|
|
|
purple="#400080"
|
|
|
|
|
|
## Background ##
|
|
|
|
xsetroot -solid "$purple"
|
|
|
|
|
|
## Status Bars ##
|
|
|
|
# slstatus, from Suckless #
|
|
#exec slstatus &
|
|
|
|
# Custom #
|
|
while true; do
|
|
xsetroot -name "`whoami`@`hostname` `date +"%Y-%m-%d %H:%M:%S"`"
|
|
done &
|
|
|
|
|
|
## Start ##
|
|
|
|
exec dwm
|