Added OS X wallpaper detection
This commit is contained in:
parent
895698fe40
commit
6b9d7ac78b
2 changed files with 10 additions and 5 deletions
4
fetch
4
fetch
|
@ -738,6 +738,10 @@ getwallpaper () {
|
|||
img="$(awk -F\' '/feh/ {printf $2}' $HOME/.fehbg)"
|
||||
;;
|
||||
|
||||
"Mac OS X")
|
||||
img="$(osascript -e 'tell app \"finder\" to get posix path of (get desktop picture as text)')"
|
||||
;;
|
||||
|
||||
"Windows")
|
||||
case "$distro" in
|
||||
"Windows XP")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue