diff --git a/_widgets/batteryarc-widget.md b/_widgets/batteryarc-widget.md index 1dfb002..8520633 100644 --- a/_widgets/batteryarc-widget.md +++ b/_widgets/batteryarc-widget.md @@ -52,7 +52,7 @@ s.mytasklist, -- Middle widget --[[or customized]] batteryarc_widget({ show_current_level = true, - arc_thickness = '1', + arc_thickness = 1, }), } ... diff --git a/_widgets/storage-widget.md b/_widgets/storage-widget.md new file mode 100644 index 0000000..a789cae --- /dev/null +++ b/_widgets/storage-widget.md @@ -0,0 +1,27 @@ +--- +layout: page +--- +# Storage Widget + +This widget shows disk usage. When clicked another widget appears with more detailed information. By default it monitors the "/" mount. It can be configured with a +list of mounts to monitor though only the first will show in the wibar. To have +multiple mounts displayed on the wibar simply define multiple `storage_widgets` +with different mounts as arguments. + + +```lua + local storage_widget = require("awesome-wm-widgets.storage-widget.storage-widget") + ... + s.mywibox:setup { + s.mytasklist, -- Middle widget + { -- Right widgets + storage_widget(), --default + wibox.widget.textbox(':'), + storage_widget({ mounts = { '/', '/mnt/musicj' } }), -- multiple mounts + ... + +``` + +## Installation + +Please refer to the [installation](../awesome-wm-widgets/assets/img/screenshots/storage-widgetttps://github.com/streetturtle/awesome-wm-widgets#installation) section of the repo. diff --git a/assets/img/screenshots/cpu-widget/cpu.gif b/assets/img/screenshots/cpu-widget/cpu.gif index 086e618..cb97262 100644 Binary files a/assets/img/screenshots/cpu-widget/cpu.gif and b/assets/img/screenshots/cpu-widget/cpu.gif differ diff --git a/assets/img/screenshots/storage-widget/out.gif b/assets/img/screenshots/storage-widget/out.gif new file mode 100644 index 0000000..736f894 Binary files /dev/null and b/assets/img/screenshots/storage-widget/out.gif differ