diff options
author | David Barksdale <amatus@amatus.name> | 2014-10-23 19:31:50 -0500 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2014-10-23 19:31:50 -0500 |
commit | b7506ecfda9fe30d4b29af5ca2cba8992c5ec6cb (patch) | |
tree | 87e7875a4ddd62b3ae04a3bebe40cbf715ed4fbe | |
parent | d0c4bd852f9284a8a5d8c4012788119390c93d4d (diff) |
New script for low-vision users
-rwxr-xr-x | low-vision.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/low-vision.sh b/low-vision.sh new file mode 100755 index 0000000..b1f37f8 --- /dev/null +++ b/low-vision.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +as() { + user="$1"; shift + env -u HOME sudo -u "$user" dbus-launch --exit-with-session "$@" + unset user +} + +# High-contrast GTK theme and icons +gsettings set org.gnome.desktop.interface gtk-theme HighContrast +gsettings set org.gnome.desktop.interface icon-theme HighContrast + +# High-contrast Unity greeter +# This looks absolutely awful, don't do this +#as lightdm gsettings set com.canonical.unity-greeter high-contrast true +#as lightdm gsettings set com.canonical.unity-greeter theme-name HighContrast +#as lightdm gsettings set com.canonical.unity-greeter icon-theme-name HighContrast + |