Commit Graph

34 Commits

Author SHA1 Message Date
Mustafa Salih
a66c94a1f8
Added local ip (#61)
* added new block/local ip

* added local ip block

* added localip in config file

* edited localip default to false
2021-06-04 22:14:02 +03:00
Shoelace
edea2fcb3d
Bump version of breadx (#60) 2021-05-28 19:20:17 +03:00
Shoelace
2a23bd2044
Threaded to async (#58)
* Add async deps

* Rename blocks to 'BlockManager'

* Refactor "Blocks" to own module

* Make all util fn async

* Remove stray println
2021-05-19 22:44:58 +03:00
Mustafa Salih
b1d81bf8c9
getting data programmatically (#56)
* getting loadavg programmatically

* added missing uptime in rsblock.yml

* using clock_gettime syscall to get uptime
2021-05-12 16:46:48 +03:00
Mustafa
674f6811fe
getting load-average programmatically, fully support BSD soon 2021-05-11 21:21:26 +03:00
Mustafa Salih
96b47f1999
Getting uptime programmatically (#55)
* added limits 30 chars foreach the title and artist in spotify block, closes: #53

* Getting uptime programmatically
2021-05-11 19:07:01 +03:00
Mustafa Salih
c2a1be9cd3
added limits 30 chars foreach the title and artist in spotify block, closes: #53 (#54) 2021-05-09 22:14:29 +03:00
Mustafa Salih
501c8e64a0
removed battery source from rsblocks.yml (#51) 2021-04-29 22:54:16 +03:00
Mustafa Salih
6b92cecef4
getting battery percentage programmatically (#50)
* getting battery percentage programmatically

* cargo.lock edit
2021-04-29 21:59:59 +03:00
Mustafa Salih
cc0c16a3d0
more readable parser error messages, closes #47 (#49) 2021-04-25 20:28:50 +03:00
Mustafa Salih
f16724e986
Dev (#45)
* added bitcoins prices

* removed unwanted formating
2021-02-15 04:31:29 +03:00
mustafa salih
0359a01cc8 removed some doublicated code 2021-02-03 03:42:05 +03:00
Mustafa Salih
303808ea19
showing current public ip address (#43) 2021-02-02 02:23:37 +03:00
Mustafa Salih
6c0dfddead
Reads network bandwith (#39)
* updated crate version

* updated crate version

* rsblocks now reads netspeed per second
2021-01-26 02:44:13 +03:00
AdaShoelace
861a986567 Change to serde
Change config serializer to serde in order to get cleaner config types.
2021-01-21 22:24:15 +01:00
mustafa salih
3596f13cc3 added reading load average 2021-01-18 09:42:18 +03:00
mustafa salih
4f83d10cf8 added some checks 2021-01-16 09:26:06 +03:00
mustafa salih
6a349a0e02 orginized the code to seprated mods and deleted the lib file 2021-01-14 05:41:01 +03:00
mustafa salih
2c18c32e5f rsblocks now support spotify using dbus 2021-01-13 01:44:02 +03:00
mustafa salih
e2ada32383 Revert "rsblocks now support spotify using dbus"
This reverts commit e7e258dcd3.

updated readme file
2021-01-13 01:37:31 +03:00
mustafa salih
e7e258dcd3 rsblocks now support spotify using dbus 2021-01-13 01:08:46 +03:00
mustafa salih
7a47332cec fixed mpd crash caused by unwraping 2021-01-12 06:36:48 +03:00
mustafa salih
066b38dd71 removed test code from mpd 2021-01-11 07:39:52 +03:00
mustafa salih
5e993cbd82 rsblocks now support mpd 2021-01-11 05:37:56 +03:00
mustafa salih
21d03ad9d0 Added uptime 2021-01-10 06:14:41 +03:00
mustafa salih
2983e00786 Added cpu temperature and battery 2021-01-09 04:10:19 +03:00
mustafa salih
03540ab3d8 rsblocks now is a multi threaded and have a delay for each item in the bar 2021-01-03 01:47:40 +03:00
mustafa salih
538866ca9b refactored code 2021-01-01 07:18:28 +03:00
mustafa salih
57eac590cc config 2020-12-31 05:31:15 +03:00
mustafa salih
dc451435ed a little optim 2020-12-30 03:22:00 +03:00
mustafa salih
2953691b9b fixed the volume to run on arch based 2020-12-27 07:16:23 +03:00
mustafa salih
ffad8074c4 Added sound/volume and it can be customized through the rsblocks.yml file 2020-12-24 04:34:32 +03:00
mustafa salih
d34ef0dd03 Added rsblocks.yml file and yaml parser to customize 2020-12-22 07:30:27 +03:00
mustafa salih
f7b750580c init commit 2020-12-21 13:29:45 +03:00