Skip to content

Commit

Permalink
no need for battery.sh, fix some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Jan 13, 2016
1 parent 0c3bd59 commit 121d4ac
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 11 deletions.
2 changes: 1 addition & 1 deletion background.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ render: (output) ->
style: """
top: 0
left: 0
height: 22px
height: 20px
width: 100%
background-color: #171717
z-index: -1
Expand Down
4 changes: 2 additions & 2 deletions battery.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
command: "./nerdbar.widget/battery.sh"
command: "pmset -g batt | egrep '([0-9]+\%).*' -o --colour=auto | cut -f1 -d';'"

refreshFrequency: 150000 # ms

Expand All @@ -7,7 +7,7 @@ render: (output) ->

style: """
-webkit-font-smoothing: antialiased
font: 12px Hack
font: 10px Osaka-Mono
top: 4px
right: 145px
color: #FABD2F
Expand Down
4 changes: 2 additions & 2 deletions cpu.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ render: (output) ->
style: """
-webkit-font-smoothing: antialiased
color: #D5C4A1
font: 12px Hack
font: 11px Osaka-Mono
right: 262px
top: 4px
top: 6px
span
color: #7AAB7E
"""
4 changes: 2 additions & 2 deletions date.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ render: (output) ->
style: """
-webkit-font-smoothing: antialiased
color: #B16286
font: 12px Hack
font: 11px Osaka-Mono
right: 60px
top: 4px
top: 6px
"""
18 changes: 18 additions & 0 deletions focused-window.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
command: "echo $(/usr/local/bin/kwmc read focused)"

refreshFrequency: 1000 # ms

render: (output) ->
"#{output}"

style: """
-webkit-font-smoothing: antialiased
color: #D6E7EE
font: 11px Osaka-Mono
height: 16px
left: 10px
overflow: hidden
text-overflow: ellipsis
top: 6px
width: 500px
"""
4 changes: 2 additions & 2 deletions mem.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ render: (output) ->
style: """
-webkit-font-smoothing: antialiased
color: #D5C4A1
font: 12px Hack
font: 11px Osaka-Mono
right: 192px
top: 4px
top: 6px
span
color: #9C9486
"""
4 changes: 2 additions & 2 deletions time.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ render: (output) ->
style: """
-webkit-font-smoothing: antialiased
color: #458588
font: 12px Hack
font: 11px Osaka-Mono
right: 10px
top: 4px
top: 6px
"""

0 comments on commit 121d4ac

Please sign in to comment.