Skip to content

Instantly share code, notes, and snippets.

@mike7d7
Created January 26, 2024 02:04
Show Gist options
  • Select an option

  • Save mike7d7/27e181b4aadf6e1a1fe870eaaefd3fda to your computer and use it in GitHub Desktop.

Select an option

Save mike7d7/27e181b4aadf6e1a1fe870eaaefd3fda to your computer and use it in GitHub Desktop.
#!/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