Add browser launcher script
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 18 Feb 2021 21:56:18 +0000 (16:56 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 18 Feb 2021 21:56:18 +0000 (16:56 -0500)
home/bin/config_dpi_high
home/bin/config_dpi_low
home/bin/config_dpi_norm
home/bin/www_dpi_high [new file with mode: 0755]
home/bin/www_dpi_low [new file with mode: 0755]
home/bin/www_dpi_mid [new file with mode: 0755]

index c7c1701..819b89a 100755 (executable)
@@ -1,6 +1,9 @@
 #! /bin/sh
 
-# qutebrowser
+# www browser
+ln -sf ~/bin/www_dpi_high ~/bin/www
+
+# qutebrowser specifically
 ln -sf ~/.config/qutebrowser/config_for_dpi_high.py ~/.config/qutebrowser/config_for_dpi.py
 
 # dunst
index 521603b..cb1e4a4 100755 (executable)
@@ -1,5 +1,8 @@
 #! /bin/sh
 
+# www browser
+ln -sf ~/bin/www_dpi_low ~/bin/www
+
 # qutebrowser
 ln -sf ~/.config/qutebrowser/config_for_dpi_low.py ~/.config/qutebrowser/config_for_dpi.py
 
index 4f45478..e472e55 100755 (executable)
@@ -1,5 +1,8 @@
 #! /bin/sh
 
+# www browser
+ln -sf ~/bin/www_dpi_mid ~/bin/www
+
 # qutebrowser
 ln -sf ~/.config/qutebrowser/config_for_dpi_normal.py ~/.config/qutebrowser/config_for_dpi.py
 
diff --git a/home/bin/www_dpi_high b/home/bin/www_dpi_high
new file mode 100755 (executable)
index 0000000..b6040ad
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+brave-browser --force-device-scale-factor=1.5
diff --git a/home/bin/www_dpi_low b/home/bin/www_dpi_low
new file mode 100755 (executable)
index 0000000..b8886b1
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+brave-browser
diff --git a/home/bin/www_dpi_mid b/home/bin/www_dpi_mid
new file mode 100755 (executable)
index 0000000..b8886b1
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+brave-browser
This page took 0.032212 seconds and 4 git commands to generate.