{"action":"created","issue":{"url":"https://api.github.com/repos/zzzeyez/Pecan/issues/1","repository_url":"https://api.github.com/repos/zzzeyez/Pecan","labels_url":"https://api.github.com/repos/zzzeyez/Pecan/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/zzzeyez/Pecan/issues/1/comments","events_url":"https://api.github.com/repos/zzzeyez/Pecan/issues/1/events","html_url":"https://github.com/zzzeyez/Pecan/issues/1","id":305983715,"number":1,"title":"Getting an error when running wal-set","user":{"login":"skluthe","id":23664304,"avatar_url":"https://avatars0.githubusercontent.com/u/23664304?v=4","gravatar_id":"","url":"https://api.github.com/users/skluthe","html_url":"https://github.com/skluthe","followers_url":"https://api.github.com/users/skluthe/followers","following_url":"https://api.github.com/users/skluthe/following{/other_user}","gists_url":"https://api.github.com/users/skluthe/gists{/gist_id}","starred_url":"https://api.github.com/users/skluthe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skluthe/subscriptions","organizations_url":"https://api.github.com/users/skluthe/orgs","repos_url":"https://api.github.com/users/skluthe/repos","events_url":"https://api.github.com/users/skluthe/events{/privacy}","received_events_url":"https://api.github.com/users/skluthe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-16T15:58:50Z","updated_at":"2018-05-21T03:42:38Z","closed_at":null,"author_association":"NONE","body":"administrator$ bash ~/Library/Application\\ Support/Übersicht/widgets/Pecan/wal-set42:48: syntax error: Expected end of line but found identifier. (-2741)\r\n\r\nHere is my wal-set script\r\n\r\n#!/usr/bin/env bash\r\n\r\nsassc --style expanded \"$(dirname \"$0\")/scss/style.scss\" > \"$(dirname \"$0\")/style.css\" &&\r\nosascript <<EOD\r\n  tell application \"Übersicht\"\r\n  \trefresh widget id \"Pecan-background-coffee\"\r\n  end tell\r\nEOD\r\n\r\nHere's my style.css\r\n\r\n/* Pecan is a bar for Ubersicht */\r\n/* Written by Daniel Neemann */\r\n\r\n// Import Colors\r\n@import \"/Users/administrator/.cache/wal/colors.scss\";\r\n\r\n:root {\r\n\r\n\t/* Define your resolution */\r\n\t--monitorwidth: 1920px;\r\n\t--monitorheight: 1080px;\r\n\r\n\t/* Choose background colors, ordered from left to right */\r\n\t/* Set --bgcenter to \"none\" to have date's background same as bar */\r\n\t--bg: $color0;\r\n\t--bgleft: $color1;\r\n\t--bgleft2: $color8;\r\n\t--bgcenter: $color0;\r\n\t--bgright2: $color8;\r\n\t--bgright: $color6;\r\n\r\n\t/* Choose foreground colors */\r\n\t--fgleft: $color0;\r\n\t--fgleft2: $color1;\r\n\t--fgcenter: $color7;\r\n\t--fgright2: $color6;\r\n\t--fgright: $color0;\r\n\r\n\t/* Opacity.  Change --opacitycenter to 0 in order to hide date */\r\n\t/* --opacity affects --border, so set it to 0 if you would like */\r\n\t/* for every widget to appear independent. */\r\n\t--opacity: 1;\r\n\t--opacitysides: 1;\r\n\t--opacitycenter: 1;\r\n\r\n\t/* Entire bar's outer padding (use --border for space between widgets) */\r\n\t--paddingleft: 300px;\r\n\t--paddingright: 300px;\r\n\t--paddingv: 10px;\r\n\r\n\t/* Inner-horizontal padding.  --height determines inner-vertical padding */\r\n\t--textpadding: 2ch;\r\n\r\n\t/* Bar's total height including --border and excluding padding */\r\n\t--height: 25px;\r\n\r\n\t/* Mono font recommended (alignment depends on character width) */\r\n\t--font: SF Mono, monospace;\r\n\t--fontsize: 11px;\r\n\r\n\t/* Border size.  Also functions as space between widgets, */\r\n\t/* so set --opacity to 0 if you want widgets to appear independent */\r\n\t--border: 0px;\r\n\r\n}\r\n\r\n/* Get monitor width */\r\n.screen {\r\n\twidth: var(--monitorwidth);\r\n\theight: var(--monitorheight);\r\n}\r\n\r\n/* Bar background */\r\n.background {\r\n\tbackground-color: var(--bg);\r\n\tdisplay: block;\r\n\tposition: absolute;\r\n  \theight: var(--height);\r\n\tleft: 0px;\r\n\tright: 0px;\r\n\tmargin: var(--paddingv) var(--paddingright) var(--paddingv) var(--paddingleft);\r\n\topacity: var(--opacity);\r\n\tz-index: -1;\r\n\tbox-shadow: 0px 2px 8px 2px rgba(0,0,0,0.25);\r\n}\r\n\r\n/* Workspace indicator -- far left -- requires ChunkWM */\r\n.left {\r\n\t-webkit-font-smoothing: antialiased;\r\n\tcolor: var(--fgleft);\r\n\tdisplay: block;\r\n\tposition: relative;\r\n\tbackground-color: var(--bgleft);\r\n\topacity: var(--opacitysides);\r\n\tfont: var(--fontsize) var(--font);\r\n\tleft: var(--paddingleft);\r\n\tpadding: 0px var(--textpadding);\r\n\tmargin: calc(var(--paddingv) + var(--border)) var(--border);\r\n\tline-height: calc(var(--height) - calc(var(--border) * 2);\r\n}\r\n\r\n/* Network bandwidth -- 2nd to left -- requires ifstat */\r\n.left2 {\r\n\tbackground-color: var(--bgleft2);\r\n\topacity: var(--opacitysides);\r\n\tcolor: var(--fgleft2);\r\n\t-webkit-font-smoothing: antialiased;\r\n\tposition: relative;\r\n\tdisplay: block;\r\n\tfont: var(--fontsize) var(--font);\r\n\tleft: calc(var(--paddingleft) + calc(var(--textpadding) * 2) + 1ch + var(--border));\r\n\tpadding: 0px var(--textpadding);\r\n\tmargin: var(--border);\r\n\ttop: var(--paddingv);\r\n\tline-height: calc(var(--height) - calc(var(--border) * 2);\r\n}\r\n\r\n/* Date -- third to left -- set --opacitycenter to 0 to hide */\r\n.center {\r\n\tcolor: var(--fgcenter);\r\n\tbackground-color: var(--bgcenter);\r\n\topacity: var(--opacitycenter);\r\n\t-webkit-font-smoothing: antialiased;\r\n\tposition: absolute;\r\n\tdisplay: inline-block;\r\n\tfont: var(--fontsize) var(--font);\r\n\tpadding: 0px var(--textpadding);\r\n\twidth: auto;\r\n\tleft: 50%;\r\n\ttransform: translate(-50%);\r\n\tmargin: var(--border);\r\n\tline-height:  calc(var(--height) - calc(var(--border) * 2);\r\n\ttext-align: center;\r\n}\r\n\r\n/* This is a container to align the center widget */\r\n.holder {\r\n\tbackground-color: none;\r\n\tdisplay: block;\r\n\tposition: absolute;\r\n  \theight: var(--height);\r\n\tleft: 0px;\r\n\tright: 0px;\r\n\tmargin: var(--paddingv) var(--paddingright) var(--paddingv) var(--paddingleft);\r\n}\r\n\r\n/* Battery percentage -- 4th to left */\r\n.right2 {\r\n\t-webkit-font-smoothing: antialiased;\r\n\tcolor: var(--fgright2);\r\n \tdisplay: block;\r\n\tposition: relative;\r\n\tbackground-color: var(--bgright2);\r\n\topacity: var(--opacitysides);\r\n\tfont: var(--fontsize) var(--font);\r\n\tpadding: 0px var(--textpadding);\r\n\tmargin: var(--border);\r\n\ttop: var(--paddingv);\r\n\tfloat: right;\r\n\tright: calc(var(--paddingright) + calc(var(--textpadding) * 2) + 9ch + 2px + calc(var(--border) * 2));\r\n\tmargin: var(--border);\r\n\tline-height:  calc(var(--height) - calc(var(--border) * 2));\r\n}\r\n\r\n/* Clock -- 5th to left */\r\n.right {\r\n\t-webkit-font-smoothing: antialiased;\r\n\tcolor: var(--fgright);\r\n \tdisplay: block;\r\n\tposition: relative;\r\n\tbackground-color: var(--bgright);\r\n\topacity: var(--opacitysides);\r\n\tfont: var(--fontsize) var(--font);\r\n\tpadding: 0px var(--textpadding);\r\n\tmargin: var(--border);\r\n\ttop: var(--paddingv);\r\n\tfloat: right;\r\n\tright: var(--paddingright);\r\n\tmargin-left: auto;\r\n\tmargin-right: var(--border);\r\n\tline-height:  calc(var(--height) - calc(var(--border) * 2);\r\n}\r\n\r\nLet me know if you need anything else. Running the latest version of macOS"},"comment":{"url":"https://api.github.com/repos/zzzeyez/Pecan/issues/comments/390545185","html_url":"https://github.com/zzzeyez/Pecan/issues/1#issuecomment-390545185","issue_url":"https://api.github.com/repos/zzzeyez/Pecan/issues/1","id":390545185,"user":{"login":"jdkschang","id":6375175,"avatar_url":"https://avatars2.githubusercontent.com/u/6375175?v=4","gravatar_id":"","url":"https://api.github.com/users/jdkschang","html_url":"https://github.com/jdkschang","followers_url":"https://api.github.com/users/jdkschang/followers","following_url":"https://api.github.com/users/jdkschang/following{/other_user}","gists_url":"https://api.github.com/users/jdkschang/gists{/gist_id}","starred_url":"https://api.github.com/users/jdkschang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdkschang/subscriptions","organizations_url":"https://api.github.com/users/jdkschang/orgs","repos_url":"https://api.github.com/users/jdkschang/repos","events_url":"https://api.github.com/users/jdkschang/events{/privacy}","received_events_url":"https://api.github.com/users/jdkschang/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T03:42:38Z","updated_at":"2018-05-21T03:42:38Z","author_association":"NONE","body":"@Lakotnik replaced the code with the given instructions, but for me it leads to another bug:\r\n`execution error: The variable refresh is not defined. (-2753)`. \r\n\r\nCurious as to why `pecan-styles` doesn't recognize an Übersicht command\r\n"}}
{"actor":{"display_login":"jdkschang"}}