aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-10-22 19:06:04 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-10-22 19:06:04 +0200
commit15808f4f46a9b66fae35948186268ef5349b2530 (patch)
treeaf201ac56b2ba4995d25aaeccd42d7b5e5a45b1d
parentd71abd109bad5ff0002507a25f5d5e240e46aba1 (diff)
replace orphaned wlopm with wlr-randr
-rwxr-xr-xinstall.sh2
-rwxr-xr-xriverrc2
2 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 2ec3930..e387c4d 100755
--- a/install.sh
+++ b/install.sh
@@ -84,7 +84,7 @@ if command_exists pacman; then
gst-plugins-bad \
sl
- paru -S --noconfirm cava neo-matrix wired wlopm
+ paru -S --noconfirm cava neo-matrix wired wlr-randr
${SUDO} pacman -Rndd polkit
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)