{"action":"closed","issue":{"url":"https://api.github.com/repos/jaagr/polybar/issues/180","repository_url":"https://api.github.com/repos/jaagr/polybar","labels_url":"https://api.github.com/repos/jaagr/polybar/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/jaagr/polybar/issues/180/comments","events_url":"https://api.github.com/repos/jaagr/polybar/issues/180/events","html_url":"https://github.com/jaagr/polybar/issues/180","id":190990275,"number":180,"title":"custom script issue","user":{"login":"z1lt0id","id":2316366,"avatar_url":"https://avatars.githubusercontent.com/u/2316366?v=3","gravatar_id":"","url":"https://api.github.com/users/z1lt0id","html_url":"https://github.com/z1lt0id","followers_url":"https://api.github.com/users/z1lt0id/followers","following_url":"https://api.github.com/users/z1lt0id/following{/other_user}","gists_url":"https://api.github.com/users/z1lt0id/gists{/gist_id}","starred_url":"https://api.github.com/users/z1lt0id/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z1lt0id/subscriptions","organizations_url":"https://api.github.com/users/z1lt0id/orgs","repos_url":"https://api.github.com/users/z1lt0id/repos","events_url":"https://api.github.com/users/z1lt0id/events{/privacy}","received_events_url":"https://api.github.com/users/z1lt0id/received_events","type":"User","site_admin":false},"labels":[{"id":379117688,"url":"https://api.github.com/repos/jaagr/polybar/labels/bug","name":"bug","color":"ee0701","default":true},{"id":384970059,"url":"https://api.github.com/repos/jaagr/polybar/labels/confirmed","name":"confirmed","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-22T12:45:28Z","updated_at":"2016-11-22T22:26:58Z","closed_at":"2016-11-22T22:26:58Z","body":"With the latest build I get this weird issue\r\n![tsvgh_tmp beunfinyt2](https://cloud.githubusercontent.com/assets/2316366/20524201/71e484a6-b10d-11e6-9403-566edd7ec3b6.png)\r\nAs you can see I get \"-u}\" in front of custom scripts.\r\n\r\nHere is the custom script sections in my config.\r\n\r\n```\r\n[module/pacman]                                                                                                                                                                                                                      \r\ntype = custom/script                                                                                                                                                                                                                 \r\nexec = ~/bin/getpacmanupdates                                                                                                                                                                                                        \r\nformat-background = #783e57                                                                                                                                                                                                          \r\nformat-underline = #a45476                                                                                                                                                                                                           \r\nformat-padding = 2                                                                                                                                                                                                                   \r\ninterval = 30                                                                                                                                                                                                                        \r\nclick-left = urxvt -name \"updates\" --geometry 94x50 -e zsh -c \"/home/whoami/bin/upg\"                                                                                                                                                 \r\nclick-right = urxvt -name \"updates\" --geometry 100x70 -e zsh -c \"/home/whoami/bin/listupg\" \r\n```          \r\n\r\n```\r\n[module/cputemp]                                                                                                                                                                                                                     \r\ntype = custom/script                                                                                                                                                                                                                 \r\nexec = ~/bin/barcputemp                                                                                                                                                                                                              \r\ninterval = 10                                                                                                                                                                                                                        \r\nformat-background = #783e57                                                                                                                                                                                                          \r\nformat-underline = #a45476                                                                                                                                                                                                           \r\nformat-padding = 2  \r\n```    \r\n\r\nHere are the bash scripts:\r\ngetpacmanupdates\r\n```\r\n#!/bin/bash                                                                                                                                                                                                                          \r\n                                                                                                                                                                                                                                     \r\n# --                                                                                                                                                                                                                                 \r\n# Get Pacman Updates Output for lemonbuddy                                                                                                                                                                                           \r\n# --                                                                                                                                                                                                                                 \r\n                                                                                                                                                                                                                                     \r\nupd=': '                                                                                                                                                                                                                            \r\nupd+=$(pacman -Qu | wc -l)                                                                                                                                                                                                           \r\necho $upd\r\n```         \r\n\r\nbarcputemp\r\n```\r\n#!/bin/bash                                                                                                                                                                                                                          \r\ntemp=$((`sensors | grep \"Physical id 0\" | cut -d'+' -f2 | head -c2`))                                                                                                                                                                \r\noutput=\": $temp°\"                                                                                                                                                                                                                   \r\necho $output  \r\n```  \r\n \r\nAny ideas why?"}}
{"actor":{"display_login":"jaagr"}}