This commit is contained in:
Marco Thomas
2021-03-23 19:25:50 +01:00
parent b90e03fc03
commit 7adc7ce8cd
7 changed files with 62 additions and 14 deletions

46
files/.xinitrc Executable file
View File

@@ -0,0 +1,46 @@
#!/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
#xset r rate 660 25
# keyboard layout
setxkbmap -layout za
# start programs
fcitx -d &
nextcloud &
dunst &
picom &
nm-applet &
# launch bar
$HOME/scripts/polybar.sh
# wallpaper
feh --bg-scale $HOME/data/nextcloud/wallpaper/wallpaper.png
#asetroot $HOME/data/nextcloud/wallpaper/animated/current/ -t 50 &
exec i3