From 3aac02560f6b9e71844f7856a5f0718623ae1b5e Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Fri, 7 Jun 2019 17:44:01 -0400 Subject: [PATCH] Add startx wrappers for T420s --- home/bin/dunst_dpi_low | 4 ++++ home/bin/startx-only-office_dell-from-t420s | 18 ++++++++++++++++++ home/bin/startx-only-thinkpad_t420s | 18 ++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100755 home/bin/dunst_dpi_low create mode 100755 home/bin/startx-only-office_dell-from-t420s create mode 100755 home/bin/startx-only-thinkpad_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 -- 2.20.1