mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 09:43:11 +01:00
Add base .xinitrc file
This commit is contained in:
parent
75788ceb84
commit
f63933285a
26
dotfiles/.xinitrc
Normal file
26
dotfiles/.xinitrc
Normal file
@ -0,0 +1,26 @@
|
||||
# Source the .Xresources and .xmodmap files
|
||||
xrdb -merge ~/.Xresources
|
||||
xmodmap ~/.xmodmap
|
||||
|
||||
# Source the files in the xinitrc.d directory
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
# Start compton
|
||||
compton -b
|
||||
|
||||
# Set the desktop background
|
||||
feh --no-fehbg --bg-fill ~/.config/feh/back.jpg
|
||||
|
||||
# ip link then dhcpcd to get an active internet connection
|
||||
ip link
|
||||
sudo dhcpcd
|
||||
|
||||
# Start the window manager
|
||||
exec i3
|
||||
|
||||
# vim:ft=zsh
|
Loading…
Reference in New Issue
Block a user