mirror of https://github.com/polybar/polybar.git
Page:
Module: filesystem
Pages
Compiling
Configuration
Debugging your Config
Distro Specific Setup
Fonts
Formatting
Home
Inter process messaging
Known Issues
Module: alsa
Module: backlight
Module: battery
Module: bspwm
Module: cpu
Module: date
Module: filesystem
Module: github
Module: i3
Module: ipc
Module: memory
Module: menu
Module: mpd
Module: network
Module: pulseaudio
Module: script
Module: temperature
Module: text
Module: xbacklight
Module: xkeyboard
Module: xwindow
Module: xworkspaces
Release Guidelines
Style Guide
Testing
User contributed modules
0
Module: filesystem
patrick96 edited this page 2023-11-06 00:56:15 +01:00
Table of Contents
This module shows information about mounted filesystems.
NOTE: The module is currently limited to mountpoints.
Basic settings
[module/filesystem]
type = internal/fs
; Mountpoints to display
; Default: / (new in version 3.7.0)
mount-0 = /
mount-1 = /home
mount-2 = /var
; Seconds to sleep between updates
; Default: 30
interval = 10
; Display fixed precision values
; Default: false
fixed-values = true
; Spacing (number of spaces, pixels, points) between entries
; Default: 2
spacing = 4
; Default: 90
; New in version 3.6.0
warn-percentage = 75
Additional formatting
; Available tags:
; <label-mounted> (default)
; <bar-free>
; <bar-used>
; <ramp-capacity>
format-mounted = <label-mounted>
; Available tags:
; <label-unmounted> (default)
format-unmounted = <label-unmounted>
; Format used when mountpoint %percentage_used% reaches warn-percentage
; If not defined, format-mounted is used instead.
; Available tags:
; <label-warn>
; <bar-free>
; <bar-used>
; <ramp-capacity>
; New in version 3.6.0
; format-warn = <label-warn>
; Available tokens:
; %mountpoint%
; %type%
; %fsname%
; %percentage_free%
; %percentage_used%
; %total%
; %free%
; %used%
; Default: %mountpoint% %percentage_free%%
label-mounted = %mountpoint%: %percentage_free%% of %total%
; Available tokens:
; %mountpoint%
; Default: %mountpoint% is not mounted
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = #55
; Available tokens:
; %mountpoint%
; %type%
; %fsname%
; %percentage_free%
; %percentage_used%
; %total%
; %free%
; %used%
; Default: %mountpoint% %percentage_free%%
; New in version 3.6.0
; label-warn = %mountpoint%: WARNING
If you want different customization per mountpoint, we suggest creating multiple modules and using inheritance to reuse common configuration options:
[bar/example]
modules-left = fs-root fs-home
separator = |
separator-padding = 1
[fs-base]
type = internal/fs
fixed-values = true
label-mounted = %mountpoint%: %free%
[module/fs-root]
inherit = fs-base
mount-0 = /
label-mounted = ROOT: %free%
[module/fs-home]
inherit = fs-base
mount-0 = /home
This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- 🏠 Home
- ℹ️ Help
- ⚙️ Configuration
- 🎨 Formatting
- 🗛 Fonts
- 💥 Actions
- 🏗️ Compiling
- 🔧 Debugging your Config
- 💬 Inter process messaging
- 🤫 Known Issues
- 📦 Packaging Polybar
- For Developers:
- Modules: