os/+arch: various tweaks

This commit is contained in:
Henrik Lissner 2017-04-29 23:18:26 -04:00
parent 586e798cca
commit ff014c91b3
2 changed files with 9 additions and 5 deletions

View file

@ -46,7 +46,7 @@ module-margin-right = 2
font-0 = "Fira Sans:style=Bold:size=10;1" font-0 = "Fira Sans:style=Bold:size=10;1"
font-1 = "Fira Mono:style=Bold:size=10;1" font-1 = "Fira Mono:style=Bold:size=10;1"
font-2 = FontAwesome:fontformat=truetype:size=10.5;1 font-2 = FontAwesome:fontformat=truetype:size=11;1
modules-left = bspwm modules-left = bspwm
modules-center = date modules-center = date
@ -400,7 +400,6 @@ exec = ~/.config/polybar/modules/mail
[module/redshift] [module/redshift]
type = custom/script type = custom/script
interval = 30 interval = 30
; format-prefix = " "
exec = ~/.config/polybar/modules/redshift exec = ~/.config/polybar/modules/redshift
exec-if = "pgrep redshift >/dev/null" exec-if = "pgrep redshift >/dev/null"

View file

@ -33,8 +33,8 @@ $pacman -S wget git curl tree rsync openssh dnsutils
# Set up pacaur (AUR helper) # Set up pacaur (AUR helper)
if ! exists pacaur; then if ! exists pacaur; then
pushd $(mktemp -d) pushd $(mktemp -d)
curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower && makepkg --skippgpcheck -sri curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower && makepkg --needed --noconfirm --skippgpcheck -sri
curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur && makepkg --skippgpcheck -sri curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur && makepkg --needed --noconfirm --skippgpcheck -sri
TEMP=$(pwd) TEMP=$(pwd)
popd popd
rm -rf "$TEMP" rm -rf "$TEMP"
@ -48,9 +48,14 @@ fi
## Bootstrap ## Bootstrap
# Helpful utilities # Helpful utilities
$pacaur -S the_silver_searcher tmux hub bc keybase-bin $pacaur -S the_silver_searcher tmux hub bc keybase-bin cronie
systemctl enable cronie.service
if [[ -z $SERVER ]]; then if [[ -z $SERVER ]]; then
if exists crontab; then
[[ -f $PWD/crontab ]] && crontab $PWD/crontab
fi
# desktop essentials # desktop essentials
$pacaur -S \ $pacaur -S \
xorg-xinit xorg-server \ xorg-xinit xorg-server \