Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [colors]
- background = #121212
- background-alt = #262626
- foreground = #ffffff
- primary = #c9c5c5
- secondary = #8ABEB7
- alert = #A54242
- disabled = #707880
- [bar/mybar]
- width = 100%
- height = 15pt
- radius = 0
- ;dpi = 96
- ;bottom = true
- background = ${colors.background}
- foreground = ${colors.foreground}
- line-size = 0pt
- border-size = 0pt
- border-color = #00000000
- padding-left = 0
- padding-right = 1
- module-margin = 1
- separator = |
- separator-foreground = ${colors.disabled}
- font-0 = "Iosevka Nerd Font:pixelsize=10;4"
- modules-left = xworkspaces
- modules-center =
- modules-right = keyboard pulseaudio network battery date
- cursor-click = pointer
- ;cursor-scroll = ns-resize
- enable-ipc = true
- ; tray-position = right
- ; wm-restack = generic
- ; wm-restack = bspwm
- ; wm-restack = i3
- ; override-redirect = 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 = %name%
- label-empty-foreground = ${colors.disabled}
- label-empty-padding = 1
- [module/xwindow]
- type = internal/xwindow
- label = %title:0:60:...%
- [module/filesystem]
- type = internal/fs
- interval = 25
- mount-0 = /
- label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
- label-unmounted = %mountpoint% not mounted
- label-unmounted-foreground = ${colors.disabled}
- ; This module is from colorblocks/modules.ini.
- [module/pulseaudio]
- type = internal/pulseaudio
- ; Sink to be used, if it exists (find using `pacmd list-sinks`, name field)
- ; If not, uses default sink
- sink = alsa_output.pci-0000_03_00.6.analog-stereo
- ; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
- ; Default: true
- ;use-ui-max = false
- ; Interval for volume increase/decrease (in percent points)
- ; Default: 5
- interval = 5
- ; Available tags:
- ; <label-volume> (default)
- ; <ramp-volume>
- ; <bar-volume>
- format-volume = <ramp-volume> <label-volume>
- format-volume-background = ${color.shade4}
- format-volume-padding = 0
- ; Available tags:
- ; <label-muted> (default)
- ; <ramp-volume>
- ; <bar-volume>
- format-muted = <label-muted>
- format-muted-prefix =
- format-muted-prefix-font = 2
- format-muted-background = ${color.shade4}
- format-muted-padding = 0
- ; Available tokens:
- ; %percentage% (default)
- label-volume = %percentage%%
- ; Available tokens:
- ; %percentage% (default
- label-muted = " Muted"
- label-muted-foreground = ${color.foreground}
- ; Only applies if <ramp-volume> is used
- ramp-volume-0 =
- ramp-volume-1 =
- ramp-volume-2 =
- ramp-volume-font = 2
- ; This module is from colorblocks/modules.ini.
- [module/keyboard]
- type = internal/xkeyboard
- ; List of indicators to ignore
- blacklist-0 = num lock
- blacklist-1 = scroll lock
- ; Available tags:
- ; <label-layout> (default)
- ; <label-indicator> (default)
- format = <label-layout> <label-indicator>
- ;format-prefix =
- format-prefix =
- format-prefix-font = 2
- format-background = ${color.shade5}
- format-padding = 0
- ; Available tokens:
- ; %layout%
- ; %name%
- ; %number%
- ; Default: %layout%
- label-layout = " %layout%"
- ; Available tokens:
- ; %name%
- ; Default: %name%
- label-indicator-on = %name%
- label-indicator-on-foreground = ${color.foreground}
- ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
- [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: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
- interval = 1
- ;label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
- label-connected = %essid%
- label-disconnected = %{F#707880}disconnected
- ;[module/eth]
- ;inherit = network-base
- ;interface-type = wired
- ;label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
- [module/date]
- type = internal/date
- interval = 1
- date = %H:%M
- date-alt = %d-%m-%Y %H:%M:%S
- label = %date%
- label-foreground = ${colors.foreground}
- [settings]
- screenchange-reload = true
- pseudo-transparency = true
- ; vim:ft=dosini
- ; This module is from colorblocks/modules.ini.
- [module/battery]
- type = internal/battery
- ; This is useful in case the battery never reports 100% charge
- full-at = 95
- ; Use the following command to list batteries and adapters:
- ; $ ls -1 /sys/class/power_supply/
- battery = BAT0
- adapter = ACAD
- ; 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 = 2
- ; see "man date" for details on how to format the time string
- ; NOTE: if you want to use syntax tags here you need to use %%{...}
- ; Default: %H:%M:%S
- time-format = %H:%M
- ; Available tags:
- ; <label-charging> (default)
- ; <bar-capacity>
- ; <ramp-capacity>
- ; <animation-charging>
- format-charging = <animation-charging> <label-charging>
- format-charging-background = ${color.shade5}
- format-charging-padding = 0
- ; Available tags:
- ; <label-discharging> (default)
- ; <bar-capacity>
- ; <ramp-capacity>
- ; <animation-discharging>
- format-discharging = <ramp-capacity> <label-discharging>
- format-discharging-background = ${color.shade5}
- format-discharging-padding = 0
- ; Available tags:
- ; <label-full> (default)
- ; <bar-capacity>
- ; <ramp-capacity>
- format-full = <ramp-capacity>
- ;format-full-prefix =
- format-full-prefix =
- format-full-prefix-font = 2
- format-full-background = ${color.shade5}
- format-full-padding = 0
- ; Available tokens:
- ; %percentage% (default)
- ; %time%
- ; %consumption% (shows current charge rate in watts)
- label-charging = %percentage%%
- ; Available tokens:
- ; %percentage% (default)
- ; %time%
- ; %consumption% (shows current discharge rate in watts)
- label-discharging = %percentage%%
- ; Available tokens:
- ; %percentage% (default)
- label-full = " Full"
- ; Only applies if <ramp-capacity> is used
- ramp-capacity-0 =
- ramp-capacity-1 =
- ramp-capacity-2 =
- ramp-capacity-3 =
- ramp-capacity-4 =
- ramp-capacity-font = 2
- ; Only applies if <bar-capacity> is used
- ;bar-capacity-width = 10
- ; Only applies if <animation-charging> is used
- animation-charging-0 =
- animation-charging-1 =
- animation-charging-2 =
- animation-charging-3 =
- animation-charging-4 =
- animation-charging-font = 2
- ; Framerate in milliseconds
- animation-charging-framerate = 750
- ; Only applies if <animation-discharging> is used
- ;;animation-discharging-0 = ${battery.anim0}
- ;;animation-discharging-1 = ${battery.anim1}
- ; Framerate in milliseconds
- ;animation-discharging-framerate = 500
- ; This module is from colorblocks/modules.ini.
- ; Normal Module
- [module/network]
- type = internal/network
- ;interface = wlan0
- interface = wlp3s0
- ; Seconds to sleep between updates
- ; Default: 1
- interval = 1.0
- ; Test connectivity every Nth update
- ; A value of 0 disables the feature
- ; NOTE: Experimental (needs more testing)
- ; Default: 0
- ;ping-interval = 3
- ; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%)
- ; Minimum output width of upload/download rate
- ; Default: 3
- ;;udspeed-minwidth = 5
- ; Accumulate values from all interfaces
- ; when querying for up/downspeed rate
- ; Default: false
- accumulate-stats = true
- ; Consider an `UNKNOWN` interface state as up.
- ; Some devices have an unknown state, even when they're running
- ; Default: false
- unknown-as-up = true
- ; Available tags:
- ; <label-connected> (default)
- ; <ramp-signal>
- format-connected = <label-connected>
- format-connected-prefix = 直
- format-connected-prefix-font = 2
- format-connected-background = ${color.shade4}
- format-connected-padding = 0
- ; Available tags:
- ; <label-disconnected> (default)
- format-disconnected = <label-disconnected>
- format-disconnected-prefix = 睊
- format-disconnected-prefix-font = 2
- format-disconnected-background = ${color.shade4}
- format-disconnected-padding = 0
- ; Available tags:
- ; <label-connected> (default)
- ; <label-packetloss>
- ; <animation-packetloss>
- ;;format-packetloss = <animation-packetloss> <label-connected>
- ; Available tokens:
- ; %ifname% [wireless+wired]
- ; %local_ip% [wireless+wired]
- ; %local_ip6% [wireless+wired]
- ; %essid% [wireless]
- ; %signal% [wireless]
- ; %upspeed% [wireless+wired]
- ; %downspeed% [wireless+wired]
- ; %linkspeed% [wired]
- ; Default: %ifname% %local_ip%
- ;label-connected = "%{A1:networkmanager_dmenu &:} %essid%%{A}"
- ;label-connected = "%{A1:networkmanager_dmenu &:} Connected"
- label-connected = "%{A1:networkmanager_dmenu &:}"
- ; Available tokens:
- ; %ifname% [wireless+wired]
- ; Default: (none)
- label-disconnected = "%{A1:networkmanager_dmenu &:} Offline%{A}"
- ;;label-disconnected-foreground = #66ffffff
- ; Available tokens:
- ; %ifname% [wireless+wired]
- ; %local_ip% [wireless+wired]
- ; %local_ip6% [wireless+wired]
- ; %essid% [wireless]
- ; %signal% [wireless]
- ; %upspeed% [wireless+wired]
- ; %downspeed% [wireless+wired]
- ; %linkspeed% [wired]
- ; Default: (none)
- ;label-packetloss = %essid%
- ;label-packetloss-foreground = #eefafafa
- ; Only applies if <ramp-signal> is used
- ramp-signal-0 = 直
- ramp-signal-1 = 直
- ramp-signal-2 = 直
- ; Only applies if <animation-packetloss> is used
- ;;animation-packetloss-0 = ⚠
- ;;animation-packetloss-0-foreground = #ffa64c
- ;;animation-packetloss-1 = ⚠
- ;;animation-packetloss-1-foreground = #000000
- ; Framerate in milliseconds
- ;;animation-packetloss-framerate = 500
- ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement