aboutsummaryrefslogtreecommitdiff
path: root/.config/river/autostart.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/river/autostart.sh')
-rwxr-xr-x.config/river/autostart.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/.config/river/autostart.sh b/.config/river/autostart.sh
index eab8506..8cc130f 100755
--- a/.config/river/autostart.sh
+++ b/.config/river/autostart.sh
@@ -5,11 +5,6 @@
pkill -f /usr/libexec/polkit-gnome-authentication-agent-1
/usr/libexec/polkit-mate-authentication-agent-1 &
-# Kill any existing pipewire / wireplumber daemons and only then try to start a new set.
-
-#pkill -u "${USER}" -x pipewire\|wireplumber 1>/dev/null 2>&1
-#dbus-run-session pipewire &> /dev/null &
-
# Start xdg-desktop-portal-wlr
pkill -f /usr/libexec/xdg-desktop-portal-wlr
@@ -29,6 +24,9 @@ mako &
pkill -f wlsunset
wlsunset -l 57.4 -L -1.9 &
+# Restore previous brightness
+brightnessctl s $(grep 'Current brightness:' ~/.cache/brightness | awk '{print $3}')
+
export wallpaper=$( echo $wallpaper)
pkill -f swayidle