From: Siraaj Khandkar Date: Fri, 7 Jun 2019 21:44:01 +0000 (-0400) Subject: Add startx wrappers for T420s X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=3aac02560f6b9e71844f7856a5f0718623ae1b5e;p=khome.git Add startx wrappers for T420s --- diff --git a/home/bin/dunst_dpi_low b/home/bin/dunst_dpi_low new file mode 100755 index 0000000..bbdb494 --- /dev/null +++ b/home/bin/dunst_dpi_low @@ -0,0 +1,4 @@ +#! /bin/sh + +# 1920x1080 +dunst -geometry '350x80-0+18' -font 'Terminus 8' diff --git a/home/bin/startx-only-office_dell-from-t420s b/home/bin/startx-only-office_dell-from-t420s new file mode 100755 index 0000000..85c06e2 --- /dev/null +++ b/home/bin/startx-only-office_dell-from-t420s @@ -0,0 +1,18 @@ +#! /bin/sh + +# qutebrowser +ln -sf ~/.config/qutebrowser/config_for_dpi_low.py ~/.config/qutebrowser/config_for_dpi.py + +# dunst +ln -sf ~/bin/dunst_dpi_low ~/bin/dunst_dpi + +# xrandr +ln -sf ~/.xinitrc-xrandr-only-office_dell-from-t420s ~/.xinitrc-xrandr + +# st +ln -sf ~/bin/st_dpi_low ~/bin/st + +# dwm +ln -sf ~/bin/dwm_dpi_low ~/bin/dwm + +/usr/bin/startx diff --git a/home/bin/startx-only-thinkpad_t420s b/home/bin/startx-only-thinkpad_t420s new file mode 100755 index 0000000..f79417e --- /dev/null +++ b/home/bin/startx-only-thinkpad_t420s @@ -0,0 +1,18 @@ +#! /bin/sh + +# qutebrowser +ln -sf ~/.config/qutebrowser/config_for_dpi_low.py ~/.config/qutebrowser/config_for_dpi.py + +# dunst +ln -sf ~/bin/dunst_dpi_low ~/bin/dunst_dpi + +# xrandr +ln -sf ~/.xinitrc-xrandr-only-thinkpad_t420s ~/.xinitrc-xrandr + +# st +ln -sf ~/bin/st_dpi_low ~/bin/st + +# dwm +ln -sf ~/bin/dwm_dpi_low ~/bin/dwm + +/usr/bin/startx