From 1d7640555a1669d74d7fa8112b879efae69b6f97 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 13 Nov 2022 00:16:07 +0800 Subject: Update config for sway --- bin/autostart-wayland | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin/autostart-wayland') diff --git a/bin/autostart-wayland b/bin/autostart-wayland index f725c20..d74ecb0 100755 --- a/bin/autostart-wayland +++ b/bin/autostart-wayland @@ -7,4 +7,11 @@ [ -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" -- cgit v1.2.3