Added Chinese input
This commit is contained in:
parent
97536e9679
commit
6e3378ccc3
4 changed files with 375 additions and 16 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue