Created
January 26, 2024 02:04
-
-
Save mike7d7/27e181b4aadf6e1a1fe870eaaefd3fda to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/dash | |
| XKB_DEFAULT_LAYOUT=latam dbus-run-session dwl -s "pipewire & wlr-randr --output DP-2 --custom-mode 2560x1440@164.998993 --adaptive-sync enabled; wlr-randr --output HDMI-A-1 --pos 2560,0; wlr-randr --output DP-2 --pos 0,0; wlr-randr --output HDMI-A-1 --off; exec swayosd-server & dwlb; <&0" >> log.txt & | |
| sleep 1; | |
| { echo "$(date '+%F %R') | $(date -u '+%R')"; while true; do echo "$(date '+%F %R') | $(date -u '+%R')"; sleep 15; done; } | dwlb -status-stdin all & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment