summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2020-08-02 09:52:08 +0200
committerPatrick Simianer <pks@pks.rocks>2020-08-02 09:52:08 +0200
commit3839800884f97389e6dd6de6d9e3ee4bb22b5428 (patch)
tree70f92f1115d2aa0223c0b7f12d41add0f3ca89b1
parent560e6734be67f823793c56959bd217970409fb23 (diff)
browser
-rwxr-xr-xbrowser17
1 files changed, 8 insertions, 9 deletions
diff --git a/browser b/browser
index 9f1fe8b..ccdfa8a 100755
--- a/browser
+++ b/browser
@@ -1,12 +1,12 @@
#!/usr/bin/env zsh
-# to use mpv for youtube links
-#if [[ $1 != "" ]]; then
-# if printf $1 | grep -q "youtube.com"; then
-# mpv "$1"
-# exit
-# fi
-#fi
+# To use mpv for youtube links
+if [[ $1 != "" ]]; then
+ if printf $1 | grep -q "youtube.com"; then
+ mpv "$1"
+ exit
+ fi
+fi
if [[ $(dpi) -gt 120 ]]; then
SCALE=1.4
@@ -19,5 +19,4 @@ if [[ $? -eq 1 ]]; then
bin=$(which firefox-bin)
fi
-GDK_SCALE=$SCALE GDK_DPI_SCALE=$SCALE /usr/bin/env $bin $@
-
+TZ=UTC GDK_SCALE=$SCALE GDK_DPI_SCALE=$SCALE /usr/bin/env $bin $@