#!/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