X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/1efec7a824559b3c04aab3fe223a72602dff6c38..HEAD:/dot/xinitrc diff --git a/dot/xinitrc b/dot/xinitrc index e493b87..e5bc1b3 100755 --- a/dot/xinitrc +++ b/dot/xinitrc @@ -139,6 +139,9 @@ initialize () { run init xset r rate 500 50 run init xset m 2 1 + ## Unclutter. + if type -t >/dev/null unclutter; then run bgclients unclutter -root -idle 7; fi + ## Key mappings. xmodmap $HOME/.xmodmap if [ -r $HOME/.xmodmap-local ]; then @@ -278,10 +281,10 @@ case "$term" in ## The pterm width differs according to whether it's linked against Gtk 2 ## or 3. Let's find out... case $(ldd $(command -v pterm) | grep libgtk) in - libgtk-2*) t_wd=504 ;; + *libgtk-2* | *libgtk-x11-2*) t_wd=504 ;; *) t_wd=503 ;; esac - t_lineht=13 t_vextra=23 geom=-geometry;; + t_lineht=13 t_vextra=23 geom=-geometry;; Eterm) t_wd=504 t_lineht=13 t_vextra=23 geom=-g;; xterm) t_wd=507 t_lineht=13 t_vextra=27 geom=-geometry;; esac @@ -441,7 +444,7 @@ EOF eval "${line#!}" ;; *) - set -- $line + eval "set -- $line" run bgclients "$@" ;; esac