#!/usr/bin/env sh

export LANG="en_US.UTF-8"
export DBUS_SESSION_BUS_ADDRESS="no"
export GTK_THEME="Adwaita:dark"
# export XMODIFIERS=@im=ibus
# export GTK_IM_MODULE=ibus
# export QT_IM_MODULE=ibus

walldir="$HOME/Pictures/Wallpapers"

xrdb -merge "$HOME/.Xdefaults"
sct 5500

# pick one
feh --no-fehbg --bg-fill "$walldir/catswall.png" &
# xsetroot -solid "#e8e8d4" &

xidle -program "/usr/sbin/zzz" -timeout 590 &

"$HOME/.local/bin/bar" |\
lemonbar-xft -f "GohuFont:size=9" -B "#e8e8d4" -F "#141414" &

# in the case japanese is required
# ibus-daemon -x &
cwm