Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; default colors defined in .Xdefaults
- [colors]
- red= ${xrdb:*color1:#ffffff}
- gray= ${xrdb:*color2:#ffffff}
- yellow= ${xrdb:*color3:#ffffff}
- blue= ${xrdb:*color4:#ffffff}
- mangenta= ${xrdb:*color5:#ffffff}
- cyan= ${xrdb:*color6:#ffffff}
- white= ${xrdb:*color7:#ffffff}
- ; grey labels on black bar
- foreground= #ffffff
- background= #000000
- background-focused= #404040
- [module/i3]
- type = internal/i3
- ; Only show workspaces defined on the same output as the bar
- ;
- ; Useful if you want to show monitor specific workspaces
- ; on different bars
- ;
- ; Default: false
- pin-workspaces = false
- ; This will split the workspace name on ':'
- ; Default: false
- strip-wsnumbers = true
- ; Sort the workspaces by index instead of the default
- ; sorting that groups the workspaces by output
- ; Default: false
- index-sort = true
- ; Create click handler used to focus workspace
- ; Default: true
- enable-click = true
- ; Create scroll handlers used to cycle workspaces
- ; Default: true
- enable-scroll = true
- ; Wrap around when reaching the first/last workspace
- ; Default: true
- wrapping-scroll = true
- ; Set the scroll cycle direction
- ; Default: true
- reverse-scroll = false
- ; Use fuzzy (partial) matching on labels when assigning
- ; icons to workspaces
- ; Example: code;♚ will apply the icon to all workspaces
- ; containing 'code' in the label
- ; Default: false
- fuzzy-match = true
- ; ws-icon-[0-9]+ = label;icon
- ; NOTE: The label needs to match the name of the i3 workspace
- ws-icon-0 = 1;
- ws-icon-1 = 2;
- ws-icon-2 = 3;
- ws-icon-3 = 4;
- ws-icon-4 = 5;
- ws-icon-5 = 6;
- ws-icon-6 = 7;
- ws-icon-7 = 8;
- ;ws-icon-default =
- format = <label-state> <label-mode>
- label-mode = %mode%
- label-mode-padding = 2
- label-mode-background = ${colors.background}
- label-focused = %icon% %name%
- label-focused-foreground = ${colors.foreground}
- label-focused-background = ${colors.background-focused}
- label-focused-underline = #b13f47
- label-focused-padding = 2
- label-unfocused = %icon% %name%
- label-unfocused-foreground = ${colors.foreground}
- label-unfocused-background = ${colors.background}
- label-unfocused-padding = 2
- label-visible = %icon% %name%
- label-visible-underline = #555555
- label-visible-padding = 2
- label-urgent = %icon% %name%
- label-urgent-foreground = ${colors.foreground}
- label-urgent-background = ${colors.background}
- label-urgent-padding = 2
- [bar/mybar]
- ; Small font + 2 pixel vertical offset
- font-0 = DejaVuSansMono Nerd Font:size=9;2
- height = 12
- margin = 5
- module-margin-right = 1
- module-margin-left = 1
- border-size = 0
- border-color = 0
- ; right side of the bar for addtitional information
- modules-right = temperature cpu pulseaudio wifi battery date
- ; left side displays workspaces
- modules-left = i3
- [module/date]
- type = internal/date
- date = "%{F#000000}%{R}%{R}%{F-} %d.%m.%Y %H:%M "
- format-foreground = ${colors.foreground}
- format-background = ${colors.background-focused}
- interval = 5
- [module/battery]
- type = internal/battery
- battery = BAT0
- adapter = ADP1
- full-at = 98
- time-format = %H:%M
- format-charging = "%{F#000000}%{R}%{R}%{F-} <animation-charging> <label-charging> "
- format-discharging = "%{F#000000}%{R}%{R}%{F-} <ramp-capacity> <label-discharging> "
- label-full = %percentage%%
- format-discharging-foreground = ${colors.foreground}
- format-discharging-background = ${colors.background-focused}
- format-charging-foreground = ${colors.foreground}
- format-charging-background = ${colors.background-focused}
- label-discharging = %percentage%% %time% %consumption%W
- ramp-capacity-0 =
- ramp-capacity-0-foreground = ${colors.red}
- ramp-capacity-1 =
- ramp-capacity-1-foreground = ${colors.yellow}
- ramp-capacity-2 =
- ramp-capacity-3 =
- ramp-capacity-4 =
- ;ramp-capacity-foreground = ${colors.cyan}
- animation-charging-0 =
- animation-charging-1 =
- animation-charging-2 =
- animation-charging-3 =
- animation-charging-4 =
- animation-charging-framerate = 750
- [module/wifi]
- type = internal/network
- interface = wlp2s0
- interval = 1.0
- ping-interval = 10
- format-connected-foreground = ${colors.foreground}
- format-connected-background = ${colors.background-focused}
- format-connected = "%{F#000000}%{R}%{R}%{F-} <ramp-signal> <label-connected> "
- label-connected = %local_ip% %downspeed:6:6% %upspeed:6:6%
- label-disconnected = not connected
- label-disconnected-foreground = #66
- ramp-signal-0 =
- [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_12_00.3.analog-stereo
- ; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
- ; Default: true
- use-ui-max = true
- ; Interval for volume increase/decrease (in percent points)
- ; Default: 5
- interval = 5
- format-volume-foreground = ${colors.foreground}
- format-volume-background = ${colors.background-focused}
- format-volume = "%{F#000000}%{R}%{R}%{F-} <ramp-volume> <label-volume> "
- format-muted-foreground = ${colors.foreground}
- format-muted-background = ${colors.background-focused}
- ; Available tokens:
- ; %percentage% (default)
- label-muted = "%{F#000000}%{R}%{R}%{F-} 婢 "
- ; Only applies if <ramp-volume> is used
- ramp-volume-0 = 奄
- ramp-volume-1 = 奔
- ramp-volume-2 = 墳
- [module/cpu]
- type = internal/cpu
- format-foreground = ${colors.foreground}
- format-background = ${colors.background-focused}
- format = "<label> <ramp-coreload> "
- ; Available tokens:
- ; %percentage% (default) - total cpu load averaged over all cores
- ; %percentage-sum% - Cumulative load on all cores
- ; %percentage-cores% - load percentage for each core
- ; %percentage-core[1-9]% - load percentage for specific core
- label = "%{F#000000}%{R}%{R}%{F-} CPU %percentage:2:2%% "
- ; Spacing between individual per-core ramps
- ramp-coreload-spacing = 0
- ramp-coreload-0 = ▁
- ramp-coreload-1 = ▂
- ramp-coreload-2 = ▃
- ramp-coreload-3 = ▄
- ramp-coreload-4 = ▅
- ramp-coreload-5 = ▆
- ramp-coreload-6 = ▇
- ramp-coreload-7 = █
- [module/temperature]
- type = internal/temperature
- ; Thermal zone to use
- ; To list all the zone types, run
- ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
- ; Default: 0
- thermal-zone = 0
- ; Full path of temperature sysfs path
- ; Use `sensors` to find preferred temperature source, then run
- ; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
- ; to find path to desired file
- ; Default reverts to thermal zone setting
- hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
- ; Base temperature for where to start the ramp (in degrees celsius)
- ; Default: 0
- base-temperature = 30
- ; Threshold temperature to display warning label (in degrees celsius)
- ; Default: 80
- warn-temperature = 90
- format-foreground = ${colors.foreground}
- format-background = ${colors.background-focused}
- format = <label>
- label = "%{F#000000}%{R}%{R}%{F-} %temperature-c% "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement