2019-09-29 19:45:54 +00:00
|
|
|
|
2020-04-21 01:29:22 +00:00
|
|
|
# dbus
|
|
|
|
eval "$(dbus-launch --sh-syntax --exit-with-session)"
|
|
|
|
|
2019-10-08 09:08:52 +00:00
|
|
|
# notification daemon
|
2019-09-29 19:45:54 +00:00
|
|
|
dunst &
|
2019-10-08 09:08:52 +00:00
|
|
|
# compositor
|
2020-07-27 12:13:45 +00:00
|
|
|
picom &
|
2019-10-08 09:08:52 +00:00
|
|
|
# default screen brightness
|
2022-01-09 18:07:18 +00:00
|
|
|
backlight 50 &
|
2019-09-29 19:45:54 +00:00
|
|
|
|
2019-10-08 09:08:52 +00:00
|
|
|
# default keyboard layout
|
2021-04-05 21:04:09 +00:00
|
|
|
sethid &
|
2019-10-07 22:56:42 +00:00
|
|
|
|
2019-10-08 09:08:52 +00:00
|
|
|
# hide cursor when unused
|
2019-10-07 22:56:42 +00:00
|
|
|
unclutter --ignore-scrolling -b
|
2019-09-29 19:45:54 +00:00
|
|
|
|
2020-04-21 01:31:38 +00:00
|
|
|
# map left control to escape
|
|
|
|
xcape -e 'Control_L=Escape' &
|
2020-04-21 01:32:04 +00:00
|
|
|
|
|
|
|
[ -e "$HOME/.xinitrc.local" ] && . "$HOME/.xinitrc.local"
|
|
|
|
|
2022-01-09 18:07:18 +00:00
|
|
|
# set wallpaper
|
|
|
|
setoutput
|
|
|
|
|
2022-08-31 16:15:17 +00:00
|
|
|
# fcitx
|
|
|
|
export XMODIFIERS=@im=fcitx
|
|
|
|
export GTK_IM_MODULE=fcitx
|
|
|
|
export QT_IM_MODULE=fcitx
|
|
|
|
fcitx &
|
|
|
|
|
2019-10-08 09:08:52 +00:00
|
|
|
# start dwm
|
2020-04-21 01:29:22 +00:00
|
|
|
exec dwm
|