Files
dots/files/.xinitrc
Marco Thomas 1f842bcc5a Update xinit
2021-03-26 13:57:17 +01:00

44 lines
745 B
Bash
Executable File

#!/bin/bash
#
# ~/.xinitrc
#
# Executed by startx
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
# merge in defaults and keymaps
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
# TODO: is this needed?
#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
# keyboard layout
setxkbmap -layout za
# start programs
fcitx -d &
nextcloud &
dunst &
picom &
nm-applet &
# wallpaper
feh --bg-scale $HOME/data/nextcloud/wallpaper/wallpaper.png
#asetroot $HOME/data/nextcloud/wallpaper/animated/current/ -t 50 &
dwmblocks &
exec dwm