mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-09 14:28:04 -05:00
@@ -2480,8 +2480,8 @@ detectwmtheme () {
|
||||
Win_theme="Not Applicable"
|
||||
;;
|
||||
'Awesome')
|
||||
if [ -f "${XDG_CONFIG_HOME:-${HOME}/.config}/awesome/rc.lua" ]; then
|
||||
Win_theme="$(grep '^[^-].*\(theme\|beautiful\).*lua' "${XDG_CONFIG_HOME:-${HOME}/.config}/awesome/rc.lua" | grep '[^/]\+/[^/]\+.lua' -o | cut -d'/' -f1 | head -1)"
|
||||
if [ -f "/usr/bin/awesome-client" ]; then
|
||||
Win_theme="$(/usr/bin/awesome-client "return require('beautiful').theme_path" | grep -oP '[^/]*(?=/"$)')"
|
||||
fi
|
||||
;;
|
||||
'BlackBox')
|
||||
|
||||
Reference in New Issue
Block a user