5 launch_then_killall
() {
7 local -r timeout
="${2:-1}" # 2nd arg or default to 1.
15 # IDK what magic is at work here, but launching mate-appearance-properties
16 # does the job better than setting scaling variables.
17 # TODO Get to the bottom of how it works and replicate directly.
18 launch_then_killall
'mate-appearance-properties' 1
21 # https://wiki.archlinux.org/index.php/HiDPI#GDK_3_(GTK_3)
25 # https://wiki.archlinux.org/index.php/HiDPI#Qt_5
26 # https://doc.qt.io/qt-5/highdpi.html
27 # https://blog.qt.io/blog/2016/01/26/high-dpi-support-in-qt-5-6/
28 #export QT_SCALE_FACTOR=2 # Causes qutebrowser UI fonts to have large gaps.
29 #export QT_FONT_DPI=192 # Scales qutebrowser UI fonts as expected.
38 for script in ~
/.xlaunch.d
/*; do
43 launch_specialized
() {
44 # XXX dunst lazily started by dbus
45 local -r scripts_dir
=~
/.xlaunch.d.
"$(hostname)"
47 if test -d "$scripts_dir"
49 for script in "$scripts_dir"/*; do
53 printf '[error] scripts_dir not found: %s\n' "$scripts_dir" >&2
This page took 0.07622 seconds and 4 git commands to generate.