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
|
|
|
# set wallpaper
|
2020-04-21 01:30:02 +00:00
|
|
|
setoutput &
|
2019-10-07 22:56:42 +00:00
|
|
|
|
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
|
|
|
# night light
|
2020-09-26 00:04:27 +00:00
|
|
|
# redshift -l 43.6006786:1.3628012 -t 6000:2500 &
|
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
|
|
|
# status bar
|
2020-04-21 01:28:23 +00:00
|
|
|
dwmblocks &
|
2019-10-08 09:08:52 +00:00
|
|
|
# default screen brightness
|
2019-10-07 22:56:42 +00:00
|
|
|
xbacklight -set 30 &
|
2019-09-29 19:45:54 +00:00
|
|
|
|
2019-10-08 09:08:52 +00:00
|
|
|
# default keyboard layout
|
2020-06-01 05:37:57 +00:00
|
|
|
setxkbmap -layout fr -variant oss -option "caps:none,shift:both_capslock" &
|
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:29:22 +00:00
|
|
|
# fcitx
|
|
|
|
export XMODIFIERS=@im=fcitx
|
|
|
|
export GTK_IM_MODULE=fcitx
|
|
|
|
export QT_IM_MODULE=fcitx
|
|
|
|
fcitx &
|
|
|
|
|
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"
|
|
|
|
|
2019-10-08 09:08:52 +00:00
|
|
|
# start dwm
|
2020-04-21 01:29:22 +00:00
|
|
|
exec dwm
|