Files
dots/files/.xinitrc
Marco Thomas d9d3aaf3ab Update
2021-04-12 12:43:16 +02:00

42 lines
719 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
# keyboard layout
setxkbmap -layout za
# start programs
fcitx -d &
nextcloud &
dunst &
picom &
nm-applet &
# fcitx exports
export GTK_IM_MODULE='fcitx'
export QT_IM_MODULE='fcitx'
export SDL_IM_MODULE='fcitx'
export XMODIFIERS='@im=fcitx'
export WINIT_UNIX_BACKEND=x11
# wallpaper
feh --bg-scale $HOME/data/nextcloud/wallpaper/wallpaper.png
#asetroot $HOME/data/nextcloud/wallpaper/animated/current/ -t 50 &
dwmblocks &
exec dwm 2> ~/.dwm.log