#!/usr/bin/env bash [ -f /usr/bin/fcitx5 ] && fcitx5 -d [ -f /usr/bin/dunst ] && dunst & [ -f /usr/bin/udiskie ] && udiskie -a -n -s --appindicator & [ -f /usr/bin/clipmenud ] && clipmenud & if [ "$XDG_SESSION_TYPE" = x11 ]; then [ -f ~/.fehbg ] && ~/.fehbg & fi if [ "$XDG_SESSION_TYPE" = wayland ]; then command -v gammastep > /dev/null && \ command -v awk > /dev/null && \ command -v tr > /dev/null && \ gammastep \ -l $(curl -s "https://location.services.mozilla.com/v1/geolocate?key=geoclue" | awk 'OFS=":" {print $3,$5}' | tr -d ',}') \ -m wayland fi [ -x "$HOME/.local/autostart" ] && "$HOME/.local/autostart"