From: Siraaj Khandkar Date: Thu, 18 Feb 2021 21:56:18 +0000 (-0500) Subject: Add browser launcher script X-Git-Url: https://git.xandkar.net/?p=khome.git;a=commitdiff_plain;h=be98b04f4122d4cd0e7465642d2c0578becca1f6 Add browser launcher script --- diff --git a/home/bin/config_dpi_high b/home/bin/config_dpi_high index c7c1701..819b89a 100755 --- a/home/bin/config_dpi_high +++ b/home/bin/config_dpi_high @@ -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 diff --git a/home/bin/config_dpi_low b/home/bin/config_dpi_low index 521603b..cb1e4a4 100755 --- a/home/bin/config_dpi_low +++ b/home/bin/config_dpi_low @@ -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 diff --git a/home/bin/config_dpi_norm b/home/bin/config_dpi_norm index 4f45478..e472e55 100755 --- a/home/bin/config_dpi_norm +++ b/home/bin/config_dpi_norm @@ -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 index 0000000..b6040ad --- /dev/null +++ b/home/bin/www_dpi_high @@ -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 index 0000000..b8886b1 --- /dev/null +++ b/home/bin/www_dpi_low @@ -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 index 0000000..b8886b1 --- /dev/null +++ b/home/bin/www_dpi_mid @@ -0,0 +1,3 @@ +#! /bin/sh + +brave-browser