guix/config/waybar/config

297 lines
7.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": "/nix/store/m6w2bxbyqknmhrkl1vcb0jqq2fkk9z9d-bluez-5.70/bin/bluetoothctl power on",
"on-click-right": "/nix/store/m6w2bxbyqknmhrkl1vcb0jqq2fkk9z9d-bluez-5.70/bin/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": "/nix/store/xz1knwhamc51rbwkafn2ysyjx3my0xl7-SwayNotificationCenter-0.9.0/bin/swaync-client -swb",
"exec-if": "which /nix/store/xz1knwhamc51rbwkafn2ysyjx3my0xl7-SwayNotificationCenter-0.9.0/bin/swaync-client",
"format": "{icon}{}",
"format-icons": {
"dnd-inhibited-none": "󰂜 ",
"dnd-inhibited-notification": "󰅸 ",
"dnd-none": "󰂜 ",
"dnd-notification": "󰅸 ",
"inhibited-none": "󰂜 ",
"inhibited-notification": "󰅸 ",
"none": "󰂚 ",
"notification": "󱅫 "
},
"on-click": "/nix/store/xz1knwhamc51rbwkafn2ysyjx3my0xl7-SwayNotificationCenter-0.9.0/bin/swaync-client -t -sw",
"on-click-right": "/nix/store/xz1knwhamc51rbwkafn2ysyjx3my0xl7-SwayNotificationCenter-0.9.0/bin/swaync-client -d -sw",
"return-type": "json",
"tooltip": false
},
"custom/weather": {
"exec": "/nix/store/5wgy9pg62bn4mrqbr61vwb9dkhmymf3k-wttrbar-0.6.0/bin/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": "/nix/store/lpndh2gd1s0damcbmhr1wmsw640mwrb2-pavucontrol-5.0/bin/pavucontrol",
"on-click-right": "/nix/store/8xssgjgji92br62dp3vk6y6ybv0zlv6d-pamixer-1.6/bin/pamixer -t",
"on-scroll-down": "/nix/store/8xssgjgji92br62dp3vk6y6ybv0zlv6d-pamixer-1.6/bin/pamixer -d 5",
"on-scroll-up": "/nix/store/8xssgjgji92br62dp3vk6y6ybv0zlv6d-pamixer-1.6/bin/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
}
}
]