mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 01:26:14 +01:00
519d7b3841
Signed-off-by: Magic_RB <magic_rb@redalder.org>
185 lines
3.9 KiB
INI
185 lines
3.9 KiB
INI
[colors]
|
|
background = #282A2E
|
|
background-alt = #373B41
|
|
foreground = #C5C8C6
|
|
primary = #F0C674
|
|
secondary = #8ABEB7
|
|
alert = #A54242
|
|
disabled = #707880
|
|
|
|
[bar/top]
|
|
monitor = ${env:MONITOR:}
|
|
height = 10pt
|
|
|
|
font-0 = Fixed;2
|
|
|
|
modules-left = battery backlight xworkspaces
|
|
modules-right = filesystem pulseaudio memory cpu wlan eth xkeyboard date
|
|
|
|
module-margin = 1
|
|
|
|
separator = |
|
|
separator-foreground = ${colors.disabled}
|
|
|
|
border-size = 1pt
|
|
border-color = #222222
|
|
|
|
enable-ipc = true
|
|
|
|
tray-position = right
|
|
|
|
[module/battery]
|
|
type = internal/battery
|
|
|
|
full-at = 100
|
|
|
|
# format-low once this charge percentage is reached
|
|
# Default: 10
|
|
# New in version 3.6.0
|
|
low-at = 20
|
|
|
|
# Use the following command to list batteries and adapters:
|
|
# $ ls -1 /sys/class/power_supply/
|
|
battery = BAT0
|
|
adapter = ADP1
|
|
|
|
# If an inotify event haven't been reported in this many
|
|
# seconds, manually poll for new values.
|
|
#
|
|
# Needed as a fallback for systems that don't report events
|
|
# on sysfs/procfs.
|
|
#
|
|
# Disable polling by setting the interval to 0.
|
|
#
|
|
# Default: 5
|
|
poll-interval = 5
|
|
|
|
format-low = <label-low>
|
|
label-low = %{F#FF0000}! %percentage%
|
|
|
|
label-charging = %{F#F0C674}c%{F-} %percentage%%
|
|
label-discharging = %{F#F0C674}d%{F-} %percentage%%
|
|
label-full = %{F#F0C674}-%{F-} %percentage%%
|
|
|
|
[module/backlight]
|
|
type = internal/backlight
|
|
|
|
# Use the following command to list available cards:
|
|
# $ ls -1 /sys/class/backlight/
|
|
card = intel_backlight
|
|
|
|
label = %{F#F0C674}b%{F-} %percentage%%
|
|
|
|
# Use the `/sys/class/backlight/.../actual-brightness` file
|
|
# rather than the regular `brightness` file.
|
|
# Defaults to true unless the specified card is an amdgpu backlight.
|
|
# New in version 3.6.0
|
|
use-actual-brightness = true
|
|
|
|
[module/xworkspaces]
|
|
type = internal/xworkspaces
|
|
|
|
label-active = %name%
|
|
label-active-background = ${colors.background-alt}
|
|
label-active-underline= ${colors.primary}
|
|
label-active-padding = 1
|
|
|
|
label-occupied = %name%
|
|
label-occupied-padding = 1
|
|
|
|
label-urgent = %name%
|
|
label-urgent-background = ${colors.alert}
|
|
label-urgent-padding = 1
|
|
|
|
label-empty =
|
|
# label-empty-foreground = ${colors.disabled}
|
|
# label-empty-padding = 1
|
|
|
|
pin-workspaces = true
|
|
|
|
enable-click = false
|
|
enable-scroll = false
|
|
|
|
[module/filesystem]
|
|
type = internal/fs
|
|
interval = 25
|
|
|
|
mount-0 = /
|
|
mount-1 = /nix/store
|
|
mount-2 = /home
|
|
|
|
label-mounted = %{F#F0C674}%mountpoint%%{F-} %used%
|
|
|
|
label-unmounted = %mountpoint% not mounted
|
|
label-unmounted-foreground = ${colors.disabled}
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
|
|
format-volume-prefix = "VOL "
|
|
format-volume-prefix-foreground = ${colors.primary}
|
|
format-volume = <label-volume>
|
|
|
|
label-volume = %percentage%%
|
|
|
|
label-muted = muted
|
|
label-muted-foreground = ${colors.disabled}
|
|
|
|
interval = 0
|
|
|
|
[module/xkeyboard]
|
|
type = internal/xkeyboard
|
|
blacklist-0 = num lock
|
|
|
|
label-layout = %icon%
|
|
label-layout-foreground = ${colors.primary}
|
|
|
|
label-indicator-on =
|
|
label-indicator-off =
|
|
|
|
layout-icon-default = some-icon
|
|
layout-icon-0 = de;koy;koy
|
|
layout-icon-1 = us;us
|
|
layout-icon-2 = mine;mine;mine
|
|
layout-icon-3 = de;neo;neo
|
|
|
|
[module/memory]
|
|
type = internal/memory
|
|
interval = 2
|
|
format-prefix = "RAM "
|
|
format-prefix-foreground = ${colors.primary}
|
|
label = %percentage_used:2%%
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 2
|
|
format-prefix = "CPU "
|
|
format-prefix-foreground = ${colors.primary}
|
|
label = %percentage-cores:2%
|
|
|
|
[network-base]
|
|
type = internal/network
|
|
interval = 5
|
|
format-connected = <label-connected>
|
|
format-disconnected = <label-disconnected>
|
|
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
|
|
|
|
[module/wlan]
|
|
inherit = network-base
|
|
interface-type = wireless
|
|
label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% %{F#707880},%{F-} %upspeed% %downspeed%
|
|
|
|
[module/eth]
|
|
inherit = network-base
|
|
interface-type = wired
|
|
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% %{F#707880},%{F-} %upspeed% %downspeed%
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
interval = 1
|
|
|
|
date = %Y-%m-%d %H:%M:%S
|
|
|
|
label = %date%
|
|
label-foreground = ${colors.primary}
|