Skip to content

Commit

Permalink
Automatically select all xfce workspaces
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Evans <n1be@github.com>
  • Loading branch information
Bob Evans committed Aug 14, 2016
1 parent 8a70f99 commit 357841e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions himawaripy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import appdirs

import subprocess

# Increases the quality and the size. Possible values: 4, 8, 16, 20
level = 4

Expand All @@ -19,5 +21,6 @@
"latest.png")

# Xfce4 displays to change the background of
xfce_displays = ["/backdrop/screen0/monitor0/image-path",
"/backdrop/screen0/monitor0/workspace0/last-image"]
xfce_displays = subprocess.getoutput(
'xfconf-query --channel xfce4-desktop --list | grep last-image').split()

0 comments on commit 357841e

Please sign in to comment.