dotfiles/.xinitrc

44 lines
729 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)"
# notification daemon
2019-09-29 19:45:54 +00:00
dunst &
# compositor
picom &
# default screen brightness
backlight 50 &
2019-09-29 19:45:54 +00:00
# default keyboard layout
sethid &
# hide cursor when unused
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
xmodmap ~/.config/Xmodmap
2020-04-21 01:32:04 +00:00
[ -e "$HOME/.xinitrc.local" ] && . "$HOME/.xinitrc.local"
command -v gentoo-pipewire-launcher && gentoo-pipewire-launcher &
2022-09-23 14:00:53 +00:00
# keyboard layout
setxkbmap -layout fr -variant oss -option "caps:none,shift:both_capslock"
# disable bell
xset -b
# 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 &
# start dwm
2020-04-21 01:29:22 +00:00
exec dwm