aboutsummaryrefslogtreecommitdiff
path: root/riverrc
diff options
context:
space:
mode:
Diffstat (limited to 'riverrc')
-rwxr-xr-xriverrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/riverrc b/riverrc
index c582115..08fac7a 100755
--- a/riverrc
+++ b/riverrc
@@ -142,7 +142,7 @@ riverctl map normal Super+Shift 0 set-view-tags ${ALL_TAGS}
# init
#
-riverctl spawn "swayidle timeout 600 waylock timeout 900 \"wlopm --off '*'\" resume \"wlopm --on '*'\""
+riverctl spawn "swayidle timeout 600 waylock timeout 900 \"wlr-randr --output $(wlr-randr | grep -E '^[^[:space:]]' | awk '{print $1}') --off\" resume \"wlr-randr --output $(wlr-randr | grep -E '^[^[:space:]]' | awk '{print $1}') --on; riverctl spawn waybar\""
riverctl keyboard-layout $(cat ~/.kblayout)