|
|
|
|
@ -637,13 +637,13 @@ get_wm() { |
|
|
|
|
case "$os" in |
|
|
|
|
"Mac OS X") |
|
|
|
|
ps_line="$(ps -e | grep -o '[S]pectacle\|[A]methyst\|[k]wm')" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case "$ps_line" in |
|
|
|
|
*"kwm"*) wm="Kwm" ;; |
|
|
|
|
*"Amethyst"*) wm="Amethyst" ;; |
|
|
|
|
*"Spectacle"*) wm="Spectacle" ;; |
|
|
|
|
*) wm="Quartz Compositor" ;; |
|
|
|
|
esac |
|
|
|
|
esac |
|
|
|
|
;; |
|
|
|
|
|
|
|
|
|
"Windows") |
|
|
|
|
@ -1993,6 +1993,10 @@ get_install_date() { |
|
|
|
|
install_date="$(convert_time "${install_date[@]}")" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
get_locale() { |
|
|
|
|
locale="$sys_locale" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
get_cols() { |
|
|
|
|
if [[ "$color_blocks" == "on" ]]; then |
|
|
|
|
# Convert the width to space chars. |
|
|
|
|
|