Commits

Dimitris Leventeas  committed 004240a

Last mods...

  • Participants
  • Parent commits 0fad66c

Comments (0)

Files changed (1)

     Key([altkey], "F1", lazy.spawn("dmenu_run")),
     Key([modkey], "r", lazy.spawncmd(prompt='')),
     Key([altkey], "F2", lazy.spawncmd(prompt='')),
-    Key([], "Print", lazy.spawn("scrto -e 'mv $f ~/screenshots/ 2>/dev/null'")),
+    Key([], "Print", lazy.spawn("scrot -e 'mv $f ~/screenshots/ 2>/dev/null'")),
     # Sound
     Key([], "XF86AudioMute", lazy.spawn("amixer -q set Master toggle")),
     Key([], "XF86AudioLowerVolume", lazy.spawn("amixer -c 0 sset Master 1- unmute")),
                         widget.GroupBox(fontsize=12, margin_y=-2, margin_x=1),
                         widget.Prompt(cursorblink=0),
                         widget.WindowName(fontsize=12),
-                        widget.Gmail("/home/myle/gmail.acc"),
+                        #widget.Gmail("/home/myle/gmail.acc"),
                         widget.Systray(),
                         widget.Volume(),
                         widget.Battery(battery_name="BAT1", update_delay=60),
 
 def execute_once(process):
     if not is_running(process):
-        return subprocess.Popen([process])
+        return subprocess.Popen(process.split())
 
 
 @hook.subscribe.startup
 def startup():
-    #execute_once('feh --bg-scale "/home/myle/Pictures/a magic place.jpg"')
+    execute_once('feh --bg-scale "/home/myle/Pictures/a magic place.jpg"')
     execute_once("parcellite")
     execute_once("nm-applet")
     execute_once("dropboxd")