Updated Xresources and xinit

This commit is contained in:
Carolyn Saunders 2018-05-03 19:51:49 -07:00
parent 86c5b42d67
commit 1872ea63f8
No known key found for this signature in database
GPG key ID: 2B055CCC80E7F438
2 changed files with 29 additions and 18 deletions

View file

@ -1,17 +1,22 @@
#!/bin/sh
# __ _(_)_ _ (_) |_ _ _ __
# _\ \ / | ' \| | _| '_/ _|
#(_)_\_\_|_||_|_|\__|_| \__|
# __ __ __ __ __ __ ______ ______
# /\_\_\_\ /\ \ /\ "-.\ \ /\ \ /\ == \ /\ ___\
# \/_/\_\/_ \ \ \ \ \ \-. \ \ \ \ \ \ __< \ \ \____
# /\_\/\_\ \ \_\ \ \_\\"\_\ \ \_\ \ \_\ \_\ \ \_____\
# \/_/\/_/ \/_/ \/_/ \/_/ \/_/ \/_/ /_/ \/_____/
# Turn off that damn bell!
xset -b
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
wallpaper=$(shuf -n1 -e $HOME/Wallpapers/*)
wal -b 0f0f0f -i $wallpaper -n
$HOME/.scripts/wal.sh
# pshuf and wal.sh can found in github.com/gigavinyl/.scripts
wallpaper=$(find "$HOME"/Wallpapers/* | pshuf | head -n1)
wal -b 0f0f0f -i "$wallpaper" -n --backend colorz
wal.sh
# merge in defaults and keymaps
@ -31,6 +36,13 @@ if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# UTF8
setxkbmap -option compose:ralt
# Get fonts all setup
xset +fp "$HOME/.fonts"
xset fp rehash
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
@ -40,10 +52,9 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
feh --bg-fill $wallpaper
feh --bg-fill "$wallpaper"
compton &
sxhkd &
urxvtd &
2bwm &
exec xwait
exec 2bwm