Split-out common DPI-config scripts
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 28 Aug 2019 11:34:37 +0000 (07:34 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 28 Aug 2019 11:34:37 +0000 (07:34 -0400)
home/bin/config_dpi_high [copied from home/bin/startx-only-thinkpad_t570 with 74% similarity]
home/bin/config_dpi_low [copied from home/bin/startx-only-office_dell-from-t420s with 71% similarity]
home/bin/config_dpi_norm [copied from home/bin/startx-only-asus_rog with 75% similarity]
home/bin/startx-only-asus_rog
home/bin/startx-only-office_dell-from-t420s
home/bin/startx-only-thinkpad_t420s
home/bin/startx-only-thinkpad_t570

similarity index 74%
copy from home/bin/startx-only-thinkpad_t570
copy to home/bin/config_dpi_high
index a5bc30f..ac49151 100755 (executable)
@@ -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
similarity index 71%
copy from home/bin/startx-only-office_dell-from-t420s
copy to home/bin/config_dpi_low
index 85c06e2..0c8022f 100755 (executable)
@@ -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
similarity index 75%
copy from home/bin/startx-only-asus_rog
copy to home/bin/config_dpi_norm
index 1f70bc4..b7e7e63 100755 (executable)
@@ -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
index 1f70bc4..032ad75 100755 (executable)
@@ -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
index 85c06e2..49367b9 100755 (executable)
@@ -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
index 7ea0cda..f7672b3 100755 (executable)
@@ -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
index a5bc30f..0a2b079 100755 (executable)
@@ -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
This page took 0.041413 seconds and 4 git commands to generate.