Add X11 launchers for particular display settings
authorSiraaj Khandkar <siraaj@khandkar.net>
Wed, 17 Apr 2019 17:28:07 +0000 (13:28 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Wed, 17 Apr 2019 17:28:07 +0000 (13:28 -0400)
bin/dunst_dpi_high [new file with mode: 0755]
bin/dunst_dpi_norm [new file with mode: 0755]
bin/startx-only-asus_rog [new file with mode: 0755]
bin/startx-only-thinkpad_t570 [new file with mode: 0755]

diff --git a/bin/dunst_dpi_high b/bin/dunst_dpi_high
new file mode 100755 (executable)
index 0000000..05ba708
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+dunst -geometry '600x80-0+60' -font 'Terminus 24'
diff --git a/bin/dunst_dpi_norm b/bin/dunst_dpi_norm
new file mode 100755 (executable)
index 0000000..ca483cb
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+dunst -geometry '400x80-0+30' -font 'Terminus 14'
diff --git a/bin/startx-only-asus_rog b/bin/startx-only-asus_rog
new file mode 100755 (executable)
index 0000000..c664e49
--- /dev/null
@@ -0,0 +1,18 @@
+#! /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
+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
+
+startx
diff --git a/bin/startx-only-thinkpad_t570 b/bin/startx-only-thinkpad_t570
new file mode 100755 (executable)
index 0000000..a634c4a
--- /dev/null
@@ -0,0 +1,18 @@
+#! /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
+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
+
+startx
This page took 0.024789 seconds and 4 git commands to generate.