dots/src/.xinitrc

35 lines
690 B
Plaintext
Raw Normal View History

2021-03-19 16:37:55 -04:00
#!/bin/sh
mon-on
2022-08-01 16:09:59 -04:00
picom &
xwallpaper --center .config/wall.png
2021-10-19 21:27:35 -04:00
# Host specific wallpapers
wallpaper
2021-03-21 20:03:13 -04:00
xss-lock -- slock &
2021-09-11 21:33:08 -04:00
dunst &
2021-09-11 21:32:26 -04:00
xrdb .Xresources
2021-03-19 16:37:55 -04:00
2022-04-24 10:57:16 -04:00
# DBus
export NO_AT_BRIDGE=1
eval $(dbus-launch --sh-syntax)
export DBUS_SESSION_BUS_ADDRESS
export DBUS_SESSION_BUS_PID
export DBUS_SESSION_BUS_WINDOWID
2022-01-29 11:40:02 -05:00
# IME
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
2021-07-10 21:53:35 -04:00
while true; do
DATE=$(date +'%H:%M:%S %a %b %d')
TEMP="$(($(cat /sys/class/thermal/thermal_zone0/temp) / 1000))C"
BAT="$(acpi -b | head -n 1 | awk -F'[,:]' '{print $3}' | tr -d '[:space:]')"
KEY="$(xkblayout-state print '%s')"
xsetroot -name " $DATE // $TEMP, $BAT // $KEY"
sleep 1
2021-07-10 21:53:35 -04:00
done &
2021-07-30 14:46:30 -04:00
dwm