mydot/x/.xprofile

30 lines
442 B
Plaintext
Raw Normal View History

2023-07-11 10:41:59 +03:00
#!/bin/sh
# Keyboard.
setxkbmap us,ru -option grp:alt_shift_toggle &
# Picom.
if [ -x /usr/bin/picom ]; then
picom &
fi
# Desctop wrapper.
if [ -x /usr/bin/nitrogen ]; then
nitrogen --restore &
fi
# Polybar.
if [ -x /usr/bin/polybar ]; then
[ -f $HOME/.config/polybar/launch.sh ] && $HOME/.config/polybar/launch.sh &
fi
# Start i3.
if [ -x /usr/bin/i3 ]; then
exec i3
fi
# Dwm.
# if [ -x /usr/local/bin/dwm ]; then
# exec dwm
# fi