From a36df625183be4bfb7aed5b6e70af4d7b452de48 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Wed, 28 Aug 2019 07:34:37 -0400 Subject: [PATCH] Split-out common DPI-config scripts --- ...{startx-only-thinkpad_t570 => config_dpi_high} | 5 ----- ...only-office_dell-from-t420s => config_dpi_low} | 5 ----- .../bin/{startx-only-asus_rog => config_dpi_norm} | 5 ----- home/bin/startx-only-asus_rog | 15 +-------------- home/bin/startx-only-office_dell-from-t420s | 15 +-------------- home/bin/startx-only-thinkpad_t420s | 15 +-------------- home/bin/startx-only-thinkpad_t570 | 15 +-------------- 7 files changed, 4 insertions(+), 71 deletions(-) copy home/bin/{startx-only-thinkpad_t570 => config_dpi_high} (74%) copy home/bin/{startx-only-office_dell-from-t420s => config_dpi_low} (71%) copy home/bin/{startx-only-asus_rog => config_dpi_norm} (75%) diff --git a/home/bin/startx-only-thinkpad_t570 b/home/bin/config_dpi_high similarity index 74% copy from home/bin/startx-only-thinkpad_t570 copy to home/bin/config_dpi_high index a5bc30f..ac49151 100755 --- a/home/bin/startx-only-thinkpad_t570 +++ b/home/bin/config_dpi_high @@ -6,13 +6,8 @@ ln -sf ~/.config/qutebrowser/config_for_dpi_high.py ~/.config/qutebrowser/config # dunst ln -sf ~/bin/dunst_dpi_high ~/bin/dunst_dpi -# xrandr -ln -sf ~/.xinitrc-xrandr-only-thinkpad_t570 ~/.xinitrc-xrandr - # st ln -sf ~/bin/st_dpi_high ~/bin/st # dwm ln -sf ~/bin/dwm_dpi_high ~/bin/dwm - -/usr/bin/startx diff --git a/home/bin/startx-only-office_dell-from-t420s b/home/bin/config_dpi_low similarity index 71% copy from home/bin/startx-only-office_dell-from-t420s copy to home/bin/config_dpi_low index 85c06e2..0c8022f 100755 --- a/home/bin/startx-only-office_dell-from-t420s +++ b/home/bin/config_dpi_low @@ -6,13 +6,8 @@ ln -sf ~/.config/qutebrowser/config_for_dpi_low.py ~/.config/qutebrowser/config_ # 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-asus_rog b/home/bin/config_dpi_norm similarity index 75% copy from home/bin/startx-only-asus_rog copy to home/bin/config_dpi_norm index 1f70bc4..b7e7e63 100755 --- a/home/bin/startx-only-asus_rog +++ b/home/bin/config_dpi_norm @@ -6,13 +6,8 @@ ln -sf ~/.config/qutebrowser/config_for_dpi_normal.py ~/.config/qutebrowser/conf # dunst ln -sf ~/bin/dunst_dpi_norm ~/bin/dunst_dpi -# xrandr -ln -sf ~/.xinitrc-xrandr-only-asus_rog ~/.xinitrc-xrandr - # st ln -sf ~/bin/st_dpi_norm ~/bin/st # dwm ln -sf ~/bin/dwm_dpi_norm ~/bin/dwm - -/usr/bin/startx diff --git a/home/bin/startx-only-asus_rog b/home/bin/startx-only-asus_rog index 1f70bc4..032ad75 100755 --- a/home/bin/startx-only-asus_rog +++ b/home/bin/startx-only-asus_rog @@ -1,18 +1,5 @@ #! /bin/sh -# qutebrowser -ln -sf ~/.config/qutebrowser/config_for_dpi_normal.py ~/.config/qutebrowser/config_for_dpi.py - -# dunst -ln -sf ~/bin/dunst_dpi_norm ~/bin/dunst_dpi - -# xrandr +config_dpi_norm ln -sf ~/.xinitrc-xrandr-only-asus_rog ~/.xinitrc-xrandr - -# st -ln -sf ~/bin/st_dpi_norm ~/bin/st - -# dwm -ln -sf ~/bin/dwm_dpi_norm ~/bin/dwm - /usr/bin/startx diff --git a/home/bin/startx-only-office_dell-from-t420s b/home/bin/startx-only-office_dell-from-t420s index 85c06e2..49367b9 100755 --- a/home/bin/startx-only-office_dell-from-t420s +++ b/home/bin/startx-only-office_dell-from-t420s @@ -1,18 +1,5 @@ #! /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 +config_dpi_low 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 index 7ea0cda..f7672b3 100755 --- a/home/bin/startx-only-thinkpad_t420s +++ b/home/bin/startx-only-thinkpad_t420s @@ -1,18 +1,5 @@ #! /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 +config_dpi_low ln -sf ~/.xinitrc-xrandr-only-thinkpad_t420s ~/.xinitrc-xrandr - -# st -ln -sf ~/bin/st_dpi_norm ~/bin/st - -# dwm -ln -sf ~/bin/dwm_dpi_low ~/bin/dwm - /usr/bin/startx diff --git a/home/bin/startx-only-thinkpad_t570 b/home/bin/startx-only-thinkpad_t570 index a5bc30f..0a2b079 100755 --- a/home/bin/startx-only-thinkpad_t570 +++ b/home/bin/startx-only-thinkpad_t570 @@ -1,18 +1,5 @@ #! /bin/sh -# qutebrowser -ln -sf ~/.config/qutebrowser/config_for_dpi_high.py ~/.config/qutebrowser/config_for_dpi.py - -# dunst -ln -sf ~/bin/dunst_dpi_high ~/bin/dunst_dpi - -# xrandr +config_dpi_high ln -sf ~/.xinitrc-xrandr-only-thinkpad_t570 ~/.xinitrc-xrandr - -# st -ln -sf ~/bin/st_dpi_high ~/bin/st - -# dwm -ln -sf ~/bin/dwm_dpi_high ~/bin/dwm - /usr/bin/startx -- 2.20.1