Documentation ¶
Overview ¶
Copyright © 2020 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2020 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
TODO What is all of this?
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type I3BarInput ¶
type I3BarInput struct { FullText string `json:"full_text,omitempty"` ShortText string `json:"short_text,omitempty"` Color string `json:"color,omitempty"` Background string `json:"background,omitempty"` Border string `json:"border,omitempty"` BorderTop int `json:"border_top,omitempty"` BorderRight int `json:"border_right,omitempty"` BorderBottom int `json:"border_bottom,omitempty"` BorderLeft int `json:"border_left,omitempty"` MinWidth int `json:"min_width,omitempty"` Align string `json:"align,omitempty"` Urgent bool `json:"urgent,omitempty"` Name string `json:"name,omitempty"` Instance string `json:"instance,omitempty"` Separator bool `json:"separator,omitempty"` SeparatorBlockWidth int `json:"separator_block_width,omitempty"` Markup string `json:"markup,omitempty"` }
TODO enum structs for Markup and Align fields TODO Move this out of the battery.go and into a more central location where other subcommands can use it
func BatteryInfo ¶
func BatteryInfo() (i3bi I3BarInput)