guix/config/waybar/config
2024-05-06 18:27:59 +01:00

297 lines
7 KiB
Plaintext

[
{
"layer": "top",
"modules-center": [
"sway/workspaces"
],
"modules-left": [],
"modules-right": [],
"name": "alt",
"output": [
"HDMI-A-1"
],
"position": "top",
"sway/workspaces": {
"all-outputs": false,
"format": "{icon}",
"format-icons": {
"1": "󰫃 ",
"2": "󰫄 ",
"3": "󰫅 ",
"4": "󰫆 ",
"5": "󰫇 ",
"6": "󰫈 ",
"default": "󰋙 ",
"urgent": "󰁡 "
},
"persistent-workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": []
}
}
},
{
"backlight": {
"format": "{icon}",
"format-icons": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
],
"tooltip-format": "{percent}%"
},
"battery": {
"format": "{icon}",
"format-charging": "󰂄 ",
"format-icons": [
"󱃍 ",
"󰁺 ",
"󰁻 ",
"󰁼 ",
"󰁽 ",
"󰁾 ",
"󰁿 ",
"󰂀 ",
"󰂁 ",
"󰂂 ",
"󰁹 "
],
"format-plugged": "󰚥 ",
"states": {
"critical": 20,
"warning": 30
},
"tooltip-format": "{capacity}% {time}"
},
"bluetooth": {
"format": "󰂯",
"format-connected": "󰂱",
"format-disabled": "󰂲",
"format-off": "󰂲",
"format-on": "󰂯",
"on-click": "bluetoothctl power on",
"on-click-right": "bluetoothctl power off",
"tooltip-format": "{status} | {device_alias}"
},
"clock": {
"format": "{:%R}"
},
"clock#calendar": {
"actions": {
"on-click-right": "mode",
"on-scroll-down": "shift_down",
"on-scroll-up": "shift_up"
},
"calendar": {
"format": {
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"months": "<span color='#ffead3'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>"
},
"mode": "month",
"mode-mon-col": 3,
"on-click-right": "mode",
"on-scroll": 1,
"weeks-pos": "left"
},
"format": "{:%Y-%m-%d}",
"tooltip-format": "<tt><small>{calendar}</small></tt>"
},
"cpu": {
"format": "󰻠 {usage}%",
"tooltip": false
},
"custom/notification": {
"escape": true,
"exec": "swaync-client -swb",
"exec-if": "which swaync-client",
"format": "{icon}{}",
"format-icons": {
"dnd-inhibited-none": "󰂜 ",
"dnd-inhibited-notification": "󰅸 ",
"dnd-none": "󰂜 ",
"dnd-notification": "󰅸 ",
"inhibited-none": "󰂜 ",
"inhibited-notification": "󰅸 ",
"none": "󰂚 ",
"notification": "󱅫 "
},
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"return-type": "json",
"tooltip": false
},
"custom/weather": {
"exec": "wttrbar --location Didcot --date-format \"%Y-%m-%d\" --custom-indicator \"{ICON}{temp_C}({FeelsLikeC})\"",
"format": "{}°",
"interval": 900,
"return-type": "json",
"tooltip": true
},
"disk": {
"format": "󰋊 {percentage_used}%",
"path": "/home/pixelifytica"
},
"layer": "top",
"memory": {
"format": "󰍛 {}%"
},
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"mpris"
],
"modules-right": [
"custom/notification",
"pulseaudio",
"network",
"bluetooth",
"clock#calendar",
"clock",
"backlight",
"battery",
"custom/weather",
"tray"
],
"mpris": {
"dynamic-order": [
"album",
"artist",
"title",
"position",
"length"
],
"format": "{status_icon} {player_icon} {artist} - {title}",
"ignored-players": [],
"interval": 1,
"player-icons": {
"default": "󰲸 ",
"emms": " ",
"firefox": "󰈹 ",
"mpv": "󰦟 "
},
"status-icons": {
"paused": "󰏤",
"playing": "󰐊",
"stopped": "󰓛"
},
"title-len": 64,
"tooltip-format": "{player_icon} ({player}) {dynamic}"
},
"name": "main",
"network": {
"format-disconnected": "󰈂 ",
"format-ethernet": "󰈁 ",
"format-icons": [
"󰤟 ",
"󰤢 ",
"󰤥 ",
"󰤨 "
],
"format-linked": "󰈂 ",
"format-wifi": "{icon}",
"tooltip-format": "{essid} ({signalStrength}%)"
},
"output": [
"DP-2"
],
"position": "top",
"pulseaudio": {
"format": "{format_source}{icon}{volume}%",
"format-icons": {
"car": "󰄍 ",
"default": [
"󰕿 ",
"󰖀 ",
"󰕾 "
],
"hands-free": "󰥰 ",
"headphone": "󰋋 ",
"headset": "󰋎 ",
"phone": "󰏲 ",
"portable": "󰏳 "
},
"format-muted": "{format_source} 󰝟 ",
"format-source": "󰍬 ",
"format-source-muted": "󰍭 ",
"on-click": "pavucontrol",
"on-click-right": "pamixer -t",
"on-scroll-down": "pamixer -d 5",
"on-scroll-up": "pamixer -i 5",
"scroll-step": 5
},
"sway/window": {
"format": "{title}",
"max-length": 50,
"rewrite": {
"((?:.*)WebCord.*)": "󰙯 $1",
"(.*) - Chromium": "󰊯 $1",
"(.*) - GNU Emacs at (.*)": " $1 [$2]",
"(.*) - Thunar": "󰝰 $1",
"(.*) - mpv": "󰦟 $1",
"(.*) — Mozilla Firefox": "󰈹 $1",
"(Alacritty.*)": " $1",
"(NoMachine|Nxplayer.bin) (.*)": "󰢹 $1 $2",
"(Prism Launcher.*)": "󰍳 Minecraft ($1)",
"(Signal.*)": "󰭹 $1",
"(X2Go Client)": "󰢹 $1",
"([Ss]team)": "󰓓 $1",
"(btm)": " Resource Usage [$1]",
"(cava)": "󰝚 Music Visualiser [$1]",
"Mozilla Firefox": "󰈹 $1",
"Nyxt - (.*)": "󰀹 $1",
"swayimg: (.*)": "󰋩 $1"
}
},
"sway/workspaces": {
"all-outputs": false,
"format": "{icon}",
"format-icons": {
"1": "󰫃 ",
"2": "󰫄 ",
"3": "󰫅 ",
"4": "󰫆 ",
"5": "󰫇 ",
"6": "󰫈 ",
"default": "󰋙 ",
"urgent": "󰁡 "
},
"persistent-workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": []
}
},
"temperature": {
"critical-threshold": 80,
"format": "{icon} {temperatureC}°C",
"format-icons": [
"󱃃",
"󰔏",
"󱃂"
]
},
"tray": {
"icon-size": 20,
"show-passive-items": true,
"spacing": 5
}
}
]