212 lines
4.3 KiB
TOML
212 lines
4.3 KiB
TOML
|
theme = "native"
|
||
|
icons = "material-nf"
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "focused_window"
|
||
|
# max_width = 60
|
||
|
# show_marks = "visible"
|
||
|
|
||
|
[[block]]
|
||
|
block = "music"
|
||
|
# hide_when_empty = true
|
||
|
buttons = [ "prev", "play", "next"]
|
||
|
interface_name_exclude = ['qutebrowser', 'tdesktop', 'Kotatogram']
|
||
|
max_width = 140
|
||
|
dynamic_width = true
|
||
|
format = "[{player}] {artist} - {title} "
|
||
|
[block.icons_overrides]
|
||
|
music_play = ""
|
||
|
music_next = ""
|
||
|
music_pause = ""
|
||
|
music_prev = ""
|
||
|
|
||
|
[[block]]
|
||
|
block = "custom"
|
||
|
shell = "sh"
|
||
|
command = ''' echo \ `mpc --host=192.168.0.186 status %volume%` '''
|
||
|
interval = 3
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "music"
|
||
|
# hide_when_empty = true
|
||
|
# buttons = ["play", "next"]
|
||
|
# max_width = 70
|
||
|
# dynamic_width = true
|
||
|
# player = ["ncmpcpp"]
|
||
|
# [block.icons_overrides]
|
||
|
# music_play = ""
|
||
|
# music_next = ""
|
||
|
# music_pause = ""
|
||
|
|
||
|
[[block]]
|
||
|
block = "weather"
|
||
|
format = "{weather}, ({location}), {temp}, {wind} m/s {direction}"
|
||
|
service = { name = "openweathermap", api_key = "0644c8722fd43f033b664dd2ba61e514", city_id = "498817", units = "metric" }
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "external_ip"
|
||
|
# format = "{ip} {country_code}"
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "net"
|
||
|
# device = "wlan0"
|
||
|
# format = "{signal_strength}"
|
||
|
# interval = 1
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "memory"
|
||
|
# display_type = "memory"
|
||
|
# format_mem = "{mem_used_percents}"
|
||
|
# format_swap = "{swap_used_percents}"
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "memory"
|
||
|
# format_mem = "{mem_used}/{mem_total}"
|
||
|
# format_swap = "{swap_used}/{swap_total}"
|
||
|
# display_type = "memory"
|
||
|
# icons = true
|
||
|
# clickable = true
|
||
|
# interval = 5
|
||
|
# warning_mem = 80
|
||
|
# warning_swap = 80
|
||
|
# critical_mem = 95
|
||
|
# critical_swap = 95
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "cpu"
|
||
|
# interval = 1
|
||
|
# format = "{utilization} {frequency}"
|
||
|
# [block.icons_overrides]
|
||
|
# cpu = ""
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "temperature"
|
||
|
# collapsed = false
|
||
|
# interval = 5
|
||
|
# format = "{average}"
|
||
|
# chip = "coretemp-isa-0000"
|
||
|
# # inputs = ["CPUTIN", "SYSTIN"]
|
||
|
# [block.icons_overrides]
|
||
|
# thermometer = ""
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "load"
|
||
|
# interval = 1
|
||
|
# format = "{1m}"
|
||
|
# [block.icons_overrides]
|
||
|
# cogs = ""
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "custom"
|
||
|
# # icon = """
|
||
|
# command = ''' cat /sys/class/thermal/thermal_zone1/temp | awk '{printf("%.1f\n",$1/1000)}' '''
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "custom"
|
||
|
# shell = "sh"
|
||
|
# command = ''' echo \ `sensors asus-isa-0000 | grep cpu_fan | sed 's/cpu_fan: //'` '''
|
||
|
# interval = 15
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "pacman"
|
||
|
# interval = 60
|
||
|
# format = "{pacman} pkgs"
|
||
|
# format_singular = "{pacman} pkg"
|
||
|
# format_up_to_date = "0 pkgs"
|
||
|
# critical_updates_regex = "(linux|linux-lts|linux-zen)"
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "bluetooth"
|
||
|
# mac = "68:D6:ED:28:EB:D9"
|
||
|
# format = "{percentage}"
|
||
|
# format_unavailable = ""
|
||
|
# hide_disconnected = true
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "sound"
|
||
|
# headphones_indicator = true
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "backlight"
|
||
|
# device = "intel_backlight"
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "rofication"
|
||
|
# interval = 1
|
||
|
# socket_path = "/tmp/rofi_notification_daemon"
|
||
|
# on_click = "rofication-gui.py"
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "notify"
|
||
|
# format = "{state}"
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "battery"
|
||
|
# if_command = "test -e /sys/class/power_supply/BAT0"
|
||
|
# format = "{percentage} {time}"
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "keyboard_layout"
|
||
|
# driver = "setxkbmap"
|
||
|
# on_click = "xkb-switch -n"
|
||
|
# interval = 1
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "keyboard_layout"
|
||
|
# driver = "xkbswitch"
|
||
|
# on_click = "xkb-switch -n"
|
||
|
# format = "{layout}"
|
||
|
# interval = 1
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "time"
|
||
|
# interval = 5
|
||
|
# format = "%a %d/%m %R"
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "disk_space"
|
||
|
# path = "/"
|
||
|
# alias = "/"
|
||
|
# info_type = "available"
|
||
|
# unit = "GB"
|
||
|
# interval = 20
|
||
|
# warning = 20.0
|
||
|
# alert = 10.0
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "disk_space"
|
||
|
# path = "/"
|
||
|
# info_type = "used"
|
||
|
# format = "{icon}/ {used}/{total}"
|
||
|
# unit = "GB"
|
||
|
# interval = 600
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "disk_space"
|
||
|
# path = "/home"
|
||
|
# info_type = "used"
|
||
|
# format = "{icon}/home {used}/{total}"
|
||
|
# unit = "GB"
|
||
|
# interval = 600
|
||
|
|
||
|
# [[block]]
|
||
|
# block = "disk_space"
|
||
|
# path = "/storage"
|
||
|
# info_type = "used"
|
||
|
# format = "{icon}/storage {used}/{total}"
|
||
|
# unit = "GB"
|
||
|
# interval = 600
|
||
|
#
|
||
|
[[block]]
|
||
|
block = "pacman"
|
||
|
interval = 600
|
||
|
format = "{pacman} +{aur} ={both} pkgs"
|
||
|
format_singular = "{both} pkg"
|
||
|
format_up_to_date = "0 pkgs"
|
||
|
critical_updates_regex = "(linux|linux-lts|linux-zen)"
|
||
|
# aur_command should output available updates to stdout (ie behave as echo -ne "update\n")
|
||
|
aur_command = "yay -Qua"
|
||
|
|
||
|
[[block]]
|
||
|
block = "uptime"
|