2021-10-04 08:22:19 -07:00
|
|
|
[colors]
|
|
|
|
black = ${xrdb:color0}
|
|
|
|
bblack = ${xrdb:color8}
|
|
|
|
red = ${xrdb:color1}
|
|
|
|
bred = ${xrdb:color9}
|
|
|
|
green = ${xrdb:color2}
|
|
|
|
bgreen = ${xrdb:color10}
|
|
|
|
yellow = ${xrdb:color3}
|
|
|
|
byellow = ${xrdb:color11}
|
|
|
|
blue = ${xrdb:color4}
|
|
|
|
bblue = ${xrdb:color12}
|
|
|
|
magenta = ${xrdb:color5}
|
|
|
|
bmagenta = ${xrdb:color13}
|
|
|
|
cyan = ${xrdb:color6}
|
|
|
|
bcyan = ${xrdb:color14}
|
|
|
|
white = ${xrdb:color7}
|
|
|
|
bwhite = ${xrdb:color15}
|
|
|
|
|
|
|
|
bg = ${xrdb:background}
|
|
|
|
fg = ${colors.magenta}
|
|
|
|
bg-alt = #1E2029
|
|
|
|
fg-alt = #373844
|
|
|
|
bg-dark = #181a23
|
|
|
|
|
|
|
|
alert = ${colors.yellow}
|
|
|
|
accent = #604c7e
|
|
|
|
|
|
|
|
|
|
|
|
[global/wm]
|
|
|
|
margin-top = 0
|
|
|
|
margin-bottom = 34
|
2022-04-20 04:01:01 -07:00
|
|
|
[bar/mybar]
|
|
|
|
; monitor = VGA-1
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
override-redirect = false
|
|
|
|
|
|
|
|
; Put the bar at the bottom of the screen
|
|
|
|
bottom = false
|
|
|
|
|
|
|
|
; Prefer fixed center position for the `modules-center` block
|
2021-10-04 08:22:19 -07:00
|
|
|
fixed-center = true
|
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
width = 100%
|
|
|
|
height = 29
|
|
|
|
|
|
|
|
offset-x =
|
|
|
|
offset-y =
|
|
|
|
|
|
|
|
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
2021-10-04 08:22:19 -07:00
|
|
|
background = ${colors.bg}
|
2022-04-20 04:01:01 -07:00
|
|
|
|
|
|
|
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
2021-10-04 08:22:19 -07:00
|
|
|
foreground = ${colors.fg}
|
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
line-size = 0
|
|
|
|
line-color = #fff
|
|
|
|
|
|
|
|
; Number of spaces to add at the beginning/end of the bar
|
|
|
|
; Individual side values can be defined using:
|
|
|
|
; padding-{left,right}
|
|
|
|
padding-right = 1
|
|
|
|
padding-left = 0
|
|
|
|
|
|
|
|
; Number of spaces to add before/after each module
|
|
|
|
; Individual side values can be defined using:
|
|
|
|
; module-margin-{left,right}
|
|
|
|
module-margin = 0
|
|
|
|
|
|
|
|
font-0 = "Iosevka Term:pixelsize=13;4"
|
|
|
|
font-1 = "Iosevka Term:pixelsize=6;1"
|
|
|
|
|
|
|
|
; Add module mpd for artist - title info
|
|
|
|
modules-left = i3 sps mpd_i sps mpd sps pulseaudio
|
|
|
|
modules-center = title
|
|
|
|
modules-right = network sps memory sps cpu sps date
|
|
|
|
|
|
|
|
; The separator will be inserted between the output of each module
|
|
|
|
separator =
|
|
|
|
|
|
|
|
; This value is used to add extra spacing between elements
|
|
|
|
; @deprecated: This parameter will be removed in an upcoming version
|
|
|
|
spacing = 0
|
|
|
|
|
|
|
|
; Opacity value between 0.0 and 1.0 used on fade in/out
|
|
|
|
dim-value = 1.0
|
|
|
|
|
|
|
|
wm-name = i3
|
|
|
|
|
|
|
|
tray-position = right
|
|
|
|
|
|
|
|
; If true, the bar will not shift its
|
|
|
|
; contents when the tray changes
|
|
|
|
tray-detached = false
|
|
|
|
|
|
|
|
; Tray icon max size
|
|
|
|
tray-maxsize = 16
|
|
|
|
|
|
|
|
tray-background = ${colors.bg}
|
|
|
|
;offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
|
|
|
|
|
|
tray-offset-x = 0
|
|
|
|
tray-offset-y = 0
|
|
|
|
|
|
|
|
; Pad the sides of each tray icon
|
|
|
|
tray-padding = 0
|
|
|
|
|
|
|
|
; Scale factor for tray clients
|
|
|
|
tray-scale = 1.0
|
|
|
|
|
|
|
|
wm-restack = i3
|
|
|
|
|
|
|
|
dpi-x = 133
|
|
|
|
dpi-y = 133
|
|
|
|
|
|
|
|
enable-ipc = false
|
|
|
|
|
|
|
|
; Fallback click handlers that will be called if
|
|
|
|
; there's no matching module handler found.
|
|
|
|
[module/i3]
|
|
|
|
type = internal/i3
|
2021-10-04 08:22:19 -07:00
|
|
|
pin-workspaces = true
|
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
strip-wsnumbers = true
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
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 = false
|
|
|
|
|
|
|
|
; Set the scroll cycle direction
|
|
|
|
; Default: true
|
|
|
|
reverse-scroll = false
|
|
|
|
ws-icon-0 = 1;%{T1}%{T-}
|
|
|
|
ws-icon-1 = 2;%{T1}%{T-}
|
|
|
|
ws-icon-2 = 3;%{T1}%{T-}
|
|
|
|
ws-icon-3 = 4;%{T1}%{T-}
|
|
|
|
ws-icon-4 = 5;%{T1}%{T-}
|
|
|
|
ws-icon-5 = 6;%{T1}%{T-}
|
|
|
|
ws-icon-6 = 7;%{T1}%{T-}
|
|
|
|
ws-icon-7 = 8;%{T1}%{T-}
|
|
|
|
ws-icon-8 = 9;%{T1}%{T-}
|
|
|
|
ws-icon-9 = 0;%{T1}%{T-}
|
|
|
|
ws-icon-default = %{T1}%{T-}
|
|
|
|
fuzzy-match = true
|
|
|
|
|
|
|
|
|
|
|
|
label-unfocused = %icon%
|
|
|
|
label-unfocused-padding = 1
|
|
|
|
label-unfocused-foreground = ${colors.yellow}
|
2021-10-04 08:22:19 -07:00
|
|
|
|
|
|
|
label-focused = %icon%
|
2022-04-20 04:01:01 -07:00
|
|
|
label-focused-foreground = ${colors.bg}
|
|
|
|
label-focused-background = ${colors.yellow}
|
|
|
|
label-focused-underline = #f92672
|
2021-10-04 08:22:19 -07:00
|
|
|
label-focused-padding = 1
|
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
[module/date]
|
|
|
|
type = internal/date
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Seconds to sleep between updates
|
|
|
|
interval = 1.0
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
|
|
|
|
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
|
|
|
date = %{T1}%{T-}%{T2} %d/%a%{T-}
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Optional time format
|
|
|
|
time = %{T2} %H:%M%{T-}
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; if `date-alt` or `time-alt` is defined, clicking
|
|
|
|
; the module will toggle between formats
|
|
|
|
date-alt = %{T1}%{T-}%{T2} %a, %d %b %y%{T-}
|
|
|
|
time-alt = %{T2} %H:%M:%S%{T-}
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
label = %date%%time%
|
|
|
|
label-font = 0
|
|
|
|
label-foreground = ${colors.green}
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
[module/wireless-network]
|
|
|
|
type = internal/network
|
|
|
|
interface = wlan0
|
|
|
|
|
|
|
|
label-connected = %essid%
|
|
|
|
format-connected = <ramp-signal>
|
|
|
|
label-connected-foreground = #82b414
|
|
|
|
|
|
|
|
format-disconnected = <label-disconnected>
|
|
|
|
label-disconnected = Not connected
|
|
|
|
label-disconnected-foreground = #f92672
|
|
|
|
label-disconnected-background = #99000000
|
|
|
|
|
|
|
|
ramp-signal-foreground = #82b414
|
|
|
|
ramp-signal-0 =
|
|
|
|
ramp-signal-1 =
|
|
|
|
ramp-signal-2 =
|
|
|
|
ramp-signal-3 =
|
|
|
|
ramp-signal-4 =
|
|
|
|
ramp-signal-5 =
|
2021-10-04 08:22:19 -07:00
|
|
|
|
|
|
|
[module/cpu]
|
|
|
|
type = internal/cpu
|
2022-04-20 04:01:01 -07:00
|
|
|
|
|
|
|
; Seconds to sleep between updates
|
|
|
|
; Default: 1
|
|
|
|
interval = 0.5
|
|
|
|
|
|
|
|
label = %{T1}%{T-}%{T2} %percentage:2%%%{T-}
|
|
|
|
|
|
|
|
label-foreground = ${colors.cyan}
|
2021-10-04 08:22:19 -07:00
|
|
|
|
|
|
|
[module/memory]
|
|
|
|
type = internal/memory
|
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Seconds to sleep between updates
|
|
|
|
; Default: 1
|
|
|
|
interval = 0.5
|
|
|
|
format = <label>
|
|
|
|
|
|
|
|
; Available tokens:
|
|
|
|
; %percentage_used% (default)
|
|
|
|
; %percentage_free%
|
|
|
|
; %gb_used%
|
|
|
|
; %gb_free%
|
|
|
|
; %gb_total%
|
|
|
|
; %mb_used%
|
|
|
|
; %mb_free%
|
|
|
|
; %mb_total%
|
|
|
|
; %percentage_swap_used%
|
|
|
|
; %percentage_swap_free%
|
|
|
|
; %mb_swap_total%
|
|
|
|
; %mb_swap_free%
|
|
|
|
; %mb_swap_used%
|
|
|
|
; %gb_swap_total%
|
|
|
|
; %gb_swap_free%
|
|
|
|
; %gb_swap_used%
|
|
|
|
|
|
|
|
label = %{T1}%{T-}%{T2} %gb_used%%{T-}
|
|
|
|
|
|
|
|
label-foreground = ${colors.cyan}
|
|
|
|
|
|
|
|
[module/mpd]
|
|
|
|
type = internal/mpd
|
|
|
|
|
|
|
|
host = 0.0.0.0
|
|
|
|
port = 6600
|
|
|
|
|
|
|
|
interval = 2
|
|
|
|
|
|
|
|
format-online = <label-song>
|
|
|
|
format-online-background = ${colors.bg}
|
|
|
|
format-online-foreground = ${colors.yellow}
|
|
|
|
#format-online-padding = 20
|
|
|
|
|
|
|
|
label-song = %{T2}%artist% - %title%%{T-}
|
|
|
|
label-song-maxlen = 55
|
|
|
|
label-song-ellipsis = true
|
|
|
|
|
|
|
|
label-offline = "MPD is offline"
|
|
|
|
|
|
|
|
[module/mpd_i]
|
|
|
|
type = internal/mpd
|
|
|
|
|
|
|
|
interval = 2
|
|
|
|
|
|
|
|
format-online = <icon-prev> <toggle> <icon-next>
|
|
|
|
format-online-background = ${colors.bg}
|
|
|
|
format-online-foreground = ${colors.yellow}
|
|
|
|
#format-online-padding = 2
|
|
|
|
|
|
|
|
label-offline = "MPD is offline"
|
|
|
|
|
|
|
|
; Only applies if <icon-X> is used
|
|
|
|
icon-play = %{T1}奈%{T-}
|
|
|
|
icon-pause = %{T1}%{T-}
|
|
|
|
icon-stop = %{T1}%{T-}
|
|
|
|
icon-prev = %{T1}ﭣ%{T-}
|
|
|
|
icon-next = %{T1}ﭡ%{T-}
|
|
|
|
|
|
|
|
;An empty module used to add 1 unit spacings whenever needed
|
|
|
|
[module/sps]
|
|
|
|
type = custom/text
|
|
|
|
content = " "
|
|
|
|
content-padding = 0
|
|
|
|
|
|
|
|
[module/network]
|
2021-10-04 08:22:19 -07:00
|
|
|
type = internal/network
|
2022-04-20 04:01:01 -07:00
|
|
|
interface = wlan0
|
|
|
|
;enp0s29u1u2
|
|
|
|
interval = 1.0
|
|
|
|
label-connected = "%{T1}龍%{T-}%{T2} %downspeed% | %upspeed%%{T-}"
|
|
|
|
label-disconnected = "%{T2}0/0%{T-}"
|
|
|
|
label-connected-background = ${colors.bg}
|
|
|
|
label-connected-foreground = ${colors.blue}
|
|
|
|
label-disconnected-foreground = ${colors.red}
|
|
|
|
|
|
|
|
[module/title]
|
|
|
|
type = internal/xwindow
|
|
|
|
; Available tags:
|
|
|
|
; <label> (default)
|
|
|
|
format = <label>
|
|
|
|
format-background = ${colors.bg}
|
|
|
|
format-foreground = ${colors.green}
|
|
|
|
format-padding = 4
|
|
|
|
|
|
|
|
; Available tokens:
|
|
|
|
; %title%
|
|
|
|
; Default: %title%
|
|
|
|
label = "%{T1}类%{T-}%{T2} %title%%{T-}"
|
|
|
|
label-maxlen = 65
|
|
|
|
|
|
|
|
; Used instead of label when there is no window title
|
|
|
|
; Available tokens:
|
|
|
|
; None
|
|
|
|
label-empty =%{T2}Empty%{T-}
|
|
|
|
label-empty-foreground = #707880
|
2021-10-04 08:22:19 -07:00
|
|
|
|
|
|
|
[module/pulseaudio]
|
|
|
|
type = internal/pulseaudio
|
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; 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
|
|
|
|
; sink = alsa_output.pci-0000_00_1b.0.analog-stereo
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
|
|
|
|
; Default: true
|
|
|
|
use-ui-max = true
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Interval for volume increase/decrease (in percent points)
|
|
|
|
; Default: 5
|
|
|
|
interval = 5
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Available tags:
|
|
|
|
; <label-volume> (default)
|
|
|
|
; <ramp-volume>
|
|
|
|
; <bar-volume>
|
|
|
|
format-volume = <label-volume>
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Available tags:
|
|
|
|
; <label-muted> (default)
|
|
|
|
; <ramp-volume>
|
|
|
|
; <bar-volume>
|
|
|
|
format-muted = <label-muted>
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Available tokens:
|
|
|
|
; %percentage% (default)
|
|
|
|
; %decibels% (unreleased)
|
|
|
|
label-volume = %{T2}%percentage%%%{T-}
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Available tokens:
|
|
|
|
; %percentage% (default)
|
|
|
|
; %decibels% (unreleased)
|
|
|
|
label-muted = %{T1} %{T-}
|
|
|
|
label-muted-foreground = #666
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Only applies if <ramp-volume> is used
|
|
|
|
ramp-volume-0 = %{T1}🔈%{T-}
|
|
|
|
ramp-volume-1 = %{T1}🔉%{T-}
|
|
|
|
ramp-volume-2 = %{T1}🔊%{T-}
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
; Right and Middle click (unreleased)
|
|
|
|
click-right = pavucontrol &
|
|
|
|
; click-middle =
|
2021-10-04 08:22:19 -07:00
|
|
|
|
2022-04-20 04:01:01 -07:00
|
|
|
;[settings]
|
|
|
|
;pseudo-transparency = true
|