From be98b04f4122d4cd0e7465642d2c0578becca1f6 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 18 Feb 2021 16:56:18 -0500 Subject: [PATCH] Add browser launcher script --- home/bin/config_dpi_high | 5 ++++- home/bin/config_dpi_low | 3 +++ home/bin/config_dpi_norm | 3 +++ home/bin/www_dpi_high | 3 +++ home/bin/www_dpi_low | 3 +++ home/bin/www_dpi_mid | 3 +++ 6 files changed, 19 insertions(+), 1 deletion(-) create mode 100755 home/bin/www_dpi_high create mode 100755 home/bin/www_dpi_low create mode 100755 home/bin/www_dpi_mid 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 -- 2.20.1