Compare commits
2 Commits
79e1a5956e
...
aeefa114e6
Author | SHA1 | Date | |
---|---|---|---|
aeefa114e6
|
|||
e25a8df19e
|
14
README.md
14
README.md
@@ -25,6 +25,11 @@ A tool that returns variety of components in a string
|
||||
Usage: unibar [OPTIONS]
|
||||
|
||||
Options:
|
||||
-i, --interval <INTERVAL>
|
||||
Update interval in seconds
|
||||
|
||||
[default: 5]
|
||||
|
||||
-s, --weather-station <WEATHER_STATION>
|
||||
Name of the weather station
|
||||
|
||||
@@ -55,12 +60,17 @@ Options:
|
||||
|
||||
```shell
|
||||
$ target/release/unibar
|
||||
⏸ Dire Straits - Tunnel of Love 💾 42% 💻 3% 🔌 99% 📶 192.168.1.93 ☀️ 83°F
|
||||
status ⏸ Dire Straits - Tunnel of Love 💾 24% 💻 2% 🔌 100% 📶 192.168.1.93 ☀️ 83°F 📅 2025 Jun 07 🕑 09:24PM -07:00
|
||||
status ⏸ Dire Straits - Tunnel of Love 💾 24% 💻 2% 🔌 100% 📶 192.168.1.93 ☀️ 83°F 📅 2025 Jun 07 🕑 09:24PM -07:00
|
||||
status ⏸ Dire Straits - Tunnel of Love 💾 24% 💻 2% 🔌 100% 📶 192.168.1.93 ☀️ 83°F 📅 2025 Jun 07 🕑 09:25PM -07:00
|
||||
^C
|
||||
```
|
||||
|
||||
* With music progress
|
||||
|
||||
```shell
|
||||
$ target/release/unibar --music-progress
|
||||
⏸ Dire Straits - Tunnel of Love [2% 14:23] 💾 42% 💻 3% 🔌 99% 📶 192.168.1.93 ☀️ 83°F
|
||||
status ⏸ Dire Straits - Tunnel of Love [6% 14:23] 💾 24% 💻 1% 🔌 100% 📶 192.168.1.93 ☀️ 83°F 📅 2025 Jun 07 🕑 09:25PM -07:00
|
||||
status ⏸ Dire Straits - Tunnel of Love [6% 14:23] 💾 24% 💻 1% 🔌 100% 📶 192.168.1.93 ☀️ 83°F 📅 2025 Jun 07 🕑 09:25PM -07:00
|
||||
^C
|
||||
```
|
||||
|
@@ -66,6 +66,7 @@ impl Unibar {
|
||||
self.bar_modules_enabled.push(Box::new(bar_modules::bar_module_cpu::UnibarModuleCpu::new(self.opts.clone())));
|
||||
self.bar_modules_enabled.push(Box::new(bar_modules::bar_module_power::UnibarModulePower::new(self.opts.clone())));
|
||||
self.bar_modules_enabled.push(Box::new(bar_modules::bar_module_network::UnibarModuleNetwork::new(self.opts.clone())));
|
||||
self.bar_modules_enabled.push(Box::new(bar_modules::bar_module_weather::UnibarModuleWeather::new(self.opts.clone())));
|
||||
self.bar_modules_enabled.push(Box::new(bar_modules::bar_module_date::UnibarModuleDate::new(self.opts.clone())));
|
||||
self.bar_modules_enabled.push(Box::new(bar_modules::bar_module_time::UnibarModuleTime::new(self.opts.clone())));
|
||||
|
||||
|
Reference in New Issue
Block a user