mirror of
https://gitee.com/hotalexnet/openbsd.git
synced 2025-12-26 17:44:57 +08:00
46 lines
1 KiB
Bash
Executable file
46 lines
1 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
export PATH="/usr/local/bin:$PATH"
|
|
export ENV="$HOME/.kshrc"
|
|
|
|
xrdb -merge "$HOME/.Xresources"
|
|
|
|
if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
|
|
eval `dbus-launch --sh-syntax --exit-with-x11`
|
|
export DBUS_SESSION_BUS_ADDRESS
|
|
fi
|
|
|
|
export LANG=zh_CN.UTF-8
|
|
export LC_ALL=zh_CN.UTF-8
|
|
|
|
export XMODIFIERS="@im=fcitx5"
|
|
export GTK_IM_MODULE="fcitx5"
|
|
export QT_IM_MODULE="fcitx5"
|
|
|
|
/usr/local/bin/fcitx5 &
|
|
|
|
feh --bg-scale /home/alex/backgrounds/34.jpg &
|
|
|
|
ulimit -Sc 0
|
|
|
|
picom -f &
|
|
|
|
polybar main &
|
|
|
|
tint2 &
|
|
|
|
xidle -timeout 600 -program "/usr/X11R6/bin/xlock -mode random" &
|
|
|
|
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1
|
|
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2
|
|
xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5
|
|
|
|
# 调整键盘重复速率
|
|
xset r rate 250 30
|
|
|
|
#exec cwm
|
|
#exec twm
|
|
#exec /usr/local/bin/i3
|
|
exec /usr/local/bin/bspwm
|
|
#exec /usr/local/bin/spectrwm -c "$HOME/.spectrwm/spectrwm.conf"
|
|
#exec /usr/local/bin/wmaker
|