dotfiles/.xinitrc

38 lines
682 B
Plaintext
Raw Normal View History

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)"
# set wallpaper
setoutput &
# notification daemon
2019-09-29 19:45:54 +00:00
dunst &
# night light
2020-09-26 00:04:27 +00:00
# redshift -l 43.6006786:1.3628012 -t 6000:2500 &
# compositor
picom &
# status bar
2020-04-21 01:28:23 +00:00
dwmblocks &
# default screen brightness
xbacklight -set 30 &
2019-09-29 19:45:54 +00:00
# default keyboard layout
2020-06-01 05:37:57 +00:00
setxkbmap -layout fr -variant oss -option "caps:none,shift:both_capslock" &
# hide cursor when unused
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"
# start dwm
2020-04-21 01:29:22 +00:00
exec dwm