Added Chinese input

This commit is contained in:
agryphus 2023-10-16 16:25:52 -04:00
parent 97536e9679
commit 6e3378ccc3
4 changed files with 375 additions and 16 deletions

View file

@ -32,15 +32,29 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f
fi
#NixOS does not setup the user's D-Bus Daemon, so doing it explicitly here
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval $(dbus-launch --exit-with-session --sh-syntax)
fi
syustemctl --user import-environment DISPLAY XAUTHORITY
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment DISPLAY XAUTHORITY
fi
# Some x stuff
xrandr --setprovideroutputsource modesetting NVIDIA-0
# xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xset r rate 300 50
feh --bg-scale --no-fehbg ~/.config/wallpaper
picom -b
fcitx -d &
sxhkd &
exec dwm
dwmblocks
# Need to source environment before starting fcitx5 so that it can
# read the *_IM_MODULE and XMODIFIER variables.
source ~/.config/zsh/.zshenv
kill $(pidof fcitx5) 2>/dev/null
fcitx5 -d
feh --bg-fill --no-fehbg ~/.config/wallpaper
picom -b
sxhkd &
dwmblocks &
exec dwm