All Projects → Code-Hex → battery

Code-Hex / battery

Licence: MIT license
Draw battery unicode art written by Go

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to battery

Iglance
Free system monitor for OSX and macOS. See all system information at a glance in the menu bar.
Stars: ✭ 1,358 (+1957.58%)
Mutual labels:  mac, battery
Sensors
A macOS application displaying the thermal, voltage and current sensor values.
Stars: ✭ 70 (+6.06%)
Mutual labels:  mac, battery
aquaskk
An input method without morphological analysis.
Stars: ✭ 298 (+351.52%)
Mutual labels:  mac
Menu
The most customizable menu for macOS apps.
Stars: ✭ 84 (+27.27%)
Mutual labels:  mac
p8-programming-fonts
A collection of fonts I've modified for PICO-8 programming.
Stars: ✭ 67 (+1.52%)
Mutual labels:  ascii
management tools
A collection of scripts and packages to simplify OS X management.
Stars: ✭ 93 (+40.91%)
Mutual labels:  mac
docker lnmp
一键部署基于docker的LAMP环境,并利用electron + vue 提供gui管理。+++ 可配置的多进程php扩展安装
Stars: ✭ 37 (-43.94%)
Mutual labels:  mac
12306-electron
🚄 electron-vue构建12306跨平台(Mac、Windows、Linux)客户端
Stars: ✭ 125 (+89.39%)
Mutual labels:  mac
nyson
The official home of the Nyson Programming Language, built off Rust.
Stars: ✭ 19 (-71.21%)
Mutual labels:  mac
Anytranslate
💭 Translate words from and to your language, anywhere.
Stars: ✭ 17 (-74.24%)
Mutual labels:  mac
mac
高效、好玩、有趣的 Mac 软件推荐
Stars: ✭ 15 (-77.27%)
Mutual labels:  mac
Installer
A simple standalone program which automates the installation, removal and maintenance of BetterDiscord.
Stars: ✭ 1,391 (+2007.58%)
Mutual labels:  mac
linearmouse
🖱 The mouse and trackpad utility for Mac.
Stars: ✭ 1,151 (+1643.94%)
Mutual labels:  mac
ViewGenerator
⚒ ViewGenerator generates view code from variable name automatically in iOS development
Stars: ✭ 75 (+13.64%)
Mutual labels:  mac
asciichart
ASCII line charts in terminal ╭┈╯ Haskell port of kroitor/asciichart
Stars: ✭ 23 (-65.15%)
Mutual labels:  ascii
defi-app-old
DeFi Blockchain desktop app for Windows, Linux and Mac.
Stars: ✭ 12 (-81.82%)
Mutual labels:  mac
curry
curry is a framework built to enhance and compliment Foundation and UIKit.
Stars: ✭ 47 (-28.79%)
Mutual labels:  mac
syncTabs
Sync your firefox tabs with Safari on iOS
Stars: ✭ 25 (-62.12%)
Mutual labels:  mac
dotfiles
my personal dotfiles mac
Stars: ✭ 39 (-40.91%)
Mutual labels:  mac
scoot
Keyboard-driven MacOS cursor actuator
Stars: ✭ 55 (-16.67%)
Mutual labels:  mac

battery - Draw battery unicode art written by Go

sc_battery
MIT License

battery unicode art on your tmux sessions or the terminal.

Status

(2019-11-03)
Supported to display patched fonts.
Very Thanks TsutomuNakamura!!

Let's run battery -i after installed patched fonts. See more details.

(2018-05-01)
Supported to show elapsed time.
Very Thanks delphinus!!

Let's run battery -e

elapsed time

(2016-10-24)
linux supported.
Thanks mattn!!

(2016-10-21)
windows supported.

(2016-10-20)
Now, this command can use mac user only.
However, I hope to support windows and linux, bsd in future.
So, plz help me (´;ω;`)

Installation

go get -u github.com/Code-Hex/battery/cmd/battery

Usage

For tmux user, please write #(battery -t) in your .tmux.conf
Please refer to this

Support patched fonts

You can display the status of battery with patched fonts. Installing the font, Inconsolata Nerd Font Complete.otf for example, you can do it like below.

  • For mac
cd ~/Library/Fonts/
wget https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/Inconsolata/complete/Inconsolata%20Nerd%20Font%20Complete.otf
  • For Linux
cd ~/.local/share/fonts
wget https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/Inconsolata/complete/Inconsolata%20Nerd%20Font%20Complete.otf
  • For Windows
* Open your browser then fill this url
  https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/Inconsolata/complete/Inconsolata%20Nerd%20Font%20Complete.otf
* Double click the file that you downloaded and the window will be opened
* Click the install button

Your environment might require to reboot the OS. If so, reboot your OS. Then open your terminal and set your preferences to use it.

Then for tmux user, please write #(battery -t -i) in your .tmux.conf.

patched_font_100 patched_font_50 patched_font_10

Contributor 🎊

Author

codehex

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].