aboutsummaryrefslogtreecommitdiff
path: root/bin/autostart-wayland
blob: d74ecb0402490e914785e6b10e9633c4cdcf777f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 &

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

[ -x "$HOME/.local/autostart" ] && "$HOME/.local/autostart"