diff --git a/config b/config index dc6c263..d12a6c7 100644 --- a/config +++ b/config @@ -13,9 +13,10 @@ ], "modules-center": [ - "clock", "idle_inhibitor", + "clock", "custom/weather", + "custom/rotate", ], "modules-right": [ @@ -73,7 +74,12 @@ "warning": 70, "critical": 90, }, - "on-click": "kitty -e 'htop'", + "on-click": "xfce4-terminal -e 'htop'", + }, + + "custom/rotate": { + "format": " 󰑧 ", + "on-click": "~/.config/waybar/scripts/rotate-second-screen.sh", }, "custom/keyboard-layout": { diff --git a/dp-9 b/dp-9 new file mode 100644 index 0000000..e69de29 diff --git a/scripts/rotate-second-screen.sh b/scripts/rotate-second-screen.sh new file mode 100755 index 0000000..cfd9e85 --- /dev/null +++ b/scripts/rotate-second-screen.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +sway output DP-4 transform 90 clockwise