installation and readme instructions
This commit is contained in:
parent
550e8ce144
commit
2e48e24b70
3 changed files with 4 additions and 2 deletions
|
@ -47,6 +47,8 @@ programs.tmux = {
|
||||||
Customize the status bar by adding any of these lines to your .tmux.conf as desired:
|
Customize the status bar by adding any of these lines to your .tmux.conf as desired:
|
||||||
* Disable battery functionality: `set -g @dracula-show-battery false`
|
* Disable battery functionality: `set -g @dracula-show-battery false`
|
||||||
* Disable network functionality: `set -g @dracula-show-network false`
|
* Disable network functionality: `set -g @dracula-show-network false`
|
||||||
|
* Enable network bandwith functionality: `set -g @dracula-network-bandwith $network_name`
|
||||||
|
- You could get the `$network_name` through the command: `sudo lshw -class network -short | grep wl | awk '{print $2}'`
|
||||||
* Disable weather functionality: `set -g @dracula-show-weather false`
|
* Disable weather functionality: `set -g @dracula-show-weather false`
|
||||||
* Disable time functionality: `set -g @dracula-show-time false`
|
* Disable time functionality: `set -g @dracula-show-time false`
|
||||||
* Disable location information: `set -g @dracula-show-location false`
|
* Disable location information: `set -g @dracula-show-location false`
|
||||||
|
|
|
@ -17,7 +17,7 @@ Configuration and options can be found at [draculatheme.com/tmux](https://dracul
|
||||||
* Support for powerline
|
* Support for powerline
|
||||||
* Day, date, time, timezone
|
* Day, date, time, timezone
|
||||||
* Current location based on network with temperature and forecast icon (if available)
|
* Current location based on network with temperature and forecast icon (if available)
|
||||||
* Network connection status and SSID
|
* Network connection status, bandwith and SSID
|
||||||
* Battery percentage and AC power connection status
|
* Battery percentage and AC power connection status
|
||||||
* Refresh rate control
|
* Refresh rate control
|
||||||
* CPU usage
|
* CPU usage
|
||||||
|
|
|
@ -21,7 +21,7 @@ main() {
|
||||||
total_download_kbps=$(echo "scale=2; $total_download_bps / 1024" | bc)
|
total_download_kbps=$(echo "scale=2; $total_download_bps / 1024" | bc)
|
||||||
total_upload_kbps=$(echo "scale=2; $total_upload_bps / 1024" | bc)
|
total_upload_kbps=$(echo "scale=2; $total_upload_bps / 1024" | bc)
|
||||||
|
|
||||||
echo "↑ $total_upload_kbps kB/s • ↓ $total_download_kbps kB/s"
|
echo "↓ $total_download_kbps kB/s • ↑ $total_upload_kbps kB/s"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
main
|
main
|
||||||
|
|
Loading…
Reference in a new issue