Commit Graph

82 Commits

Author SHA1 Message Date
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
727841572f
bump version (#52) 2021-04-29 23:18:13 +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
ba1a60cc62
Dev (#46)
* added bitcoins prices

* removed unwanted formating

* edited readme
2021-02-15 04:37:02 +03:00
Mustafa Salih
f16724e986
Dev (#45)
* added bitcoins prices

* removed unwanted formating
2021-02-15 04:31:29 +03:00
Mustafa Salih
c4cd23f471
Merge pull request #44 from MustafaSalih1993/dev
removed some doublicated code
2021-02-03 03:43:31 +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
Mustafa Salih
9525a10751
Merge pull request #38 from AdaShoelace/change-to-serde
Change to serde
2021-01-22 00:53:11 +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
e6f9ce2ed5
Merge pull request #37 from MustafaSalih1993/dev
added reading load average
2021-01-19 06:38:03 +03:00
mustafa salih
3596f13cc3 added reading load average 2021-01-18 09:42:18 +03:00
Mustafa Salih
7b59d59222
Merge pull request #36 from MustafaSalih1993/dev
added some checks
2021-01-16 09:28:13 +03:00
mustafa salih
4f83d10cf8 added some checks 2021-01-16 09:26:06 +03:00
Mustafa Salih
e38859e0f0
Merge pull request #34 from MustafaSalih1993/dev
orginized the code to seprated mods and deleted the lib file
2021-01-14 05:43:01 +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
e829871f2d
Merge pull request #33 from MustafaSalih1993/spotify-support
Spotify support
2021-01-13 02:03:43 +03:00
mustafa salih
ff577f316a updated readme file 2021-01-13 01:59:55 +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
79632b2acc
Merge pull request #30 from MustafaSalih1993/dev
fixed mpd crash caused by unwraping
2021-01-12 06:54:17 +03:00
mustafa salih
7a47332cec fixed mpd crash caused by unwraping 2021-01-12 06:36:48 +03:00
Mustafa Salih
e32d53902f
Merge pull request #29 from MustafaSalih1993/dev
removed test code from mpd
2021-01-11 07:41:21 +03:00
mustafa salih
066b38dd71 removed test code from mpd 2021-01-11 07:39:52 +03:00
Mustafa Salih
9af2f41349
Merge pull request #27 from MustafaSalih1993/dev
rsblocks now support mpd
2021-01-11 05:40:42 +03:00
mustafa salih
5e993cbd82 rsblocks now support mpd 2021-01-11 05:37:56 +03:00
Mustafa Salih
944b45fe7e
Merge pull request #25 from MustafaSalih1993/dev
Added uptime
2021-01-10 06:15:46 +03:00
mustafa salih
21d03ad9d0 Added uptime 2021-01-10 06:14:41 +03:00
mustafa salih
29fa649674 Merge branch 'master' of https://github.com/mustafasalih1993/rsblocks 2021-01-09 04:11:06 +03:00
mustafa salih
2983e00786 Added cpu temperature and battery 2021-01-09 04:10:19 +03:00
Mustafa Salih
ac041f9d1c
Merge pull request #24 from MustafaSalih1993/revert-23-dev
Revert "Added cpu temperature and battery"
2021-01-09 04:08:35 +03:00
Mustafa Salih
da1fc34a6c
Revert "Added cpu temperature and battery" 2021-01-09 04:08:16 +03:00
Mustafa Salih
59815565e3
Merge pull request #23 from MustafaSalih1993/dev
Added cpu temperature and battery
2021-01-09 04:07:38 +03:00
mustafa salih
974563011c Added cpu temperature and battery 2021-01-09 04:06:01 +03:00
Mustafa Salih
d30253a1e5
Create CONTRIBUTING.md 2021-01-09 03:57:27 +03:00
Mustafa Salih
fc334d6905
Create CODE_OF_CONDUCT.md 2021-01-09 03:55:35 +03:00
Mustafa Salih
d32a4b4345
Merge pull request #22 from MustafaSalih1993/dev
Added cpu temperature and battery
2021-01-09 03:42:28 +03:00
mustafa salih
14405523bc Added cpu temperature and battery 2021-01-09 03:40:14 +03:00
Mustafa Salih
d7a1a6a6c8
Merge pull request #21 from MustafaSalih1993/dev
updated version in cargo config file and removed the build status sin…
2021-01-08 05:50:58 +03:00
mustafa salih
3fa52e145a updated version in cargo config file and removed the build status since the workflow does not have sound card 2021-01-08 05:48:39 +03:00
Mustafa Salih
0baee0b8e3
Merge pull request #19 from AdaShoelace/remove-external-command-calling
Remove spawning of sub processes
2021-01-08 05:29:33 +03:00
AdaShoelace
adb507b0ef Squashed commit of the following:
commit 89ec61f2cc24238dbccf2890235fab7a66efdc5b
Author: AdaShoelace <adashoelace@gmail.com>
Date:   Fri Jan 8 01:49:19 2021 +0100

    Support pulseaudio

commit b4bc05538b22d86a53e4461bbee2c8c4d33b0f80
Author: AdaShoelace <adashoelace@gmail.com>
Date:   Fri Jan 8 01:06:32 2021 +0100

    Display volume in percent

commit 14570efeebeb127494509534886dd521a23f24f0
Author: AdaShoelace <adashoelace@gmail.com>
Date:   Thu Jan 7 14:22:34 2021 +0100

    Programmatically rename root and get alsa volume

commit 391b2ec7360fd9ae462a87c0a3ae86d39f695c3f
Author: AdaShoelace <adashoelace@gmail.com>
Date:   Mon Jan 4 22:26:57 2021 +0100

    Remove usage of 'Command' from get_disk

commit 0625be6e822e18cf4e2fd212695ddd1592161a97
Author: AdaShoelace <adashoelace@gmail.com>
Date:   Mon Jan 4 22:25:01 2021 +0100

    Add nix dependency

commit c66e1cc09031f0a7ddf40016855a6d7457d9d65f
Author: AdaShoelace <adashoelace@gmail.com>
Date:   Mon Jan 4 16:14:55 2021 +0100

    ignore

commit 32dbdc5f3d636551c64e2f303365a5a5e3d94994
Author: AdaShoelace <adashoelace@gmail.com>
Date:   Mon Jan 4 02:21:51 2021 +0100

    Add breadx to dependencies

commit 4d23c36552b461b06127705964e1a16dd395e658
Author: AdaShoelace <adashoelace@gmail.com>
Date:   Mon Jan 4 01:13:55 2021 +0100

    Add exclusion to gitignore
2021-01-08 02:18:51 +01:00