dotfiles/waybar/config

217 lines
5.3 KiB
Text
Raw Normal View History

2024-01-31 20:36:15 +00:00
{
2024-02-09 16:04:58 +00:00
"layer": "top",
2024-02-23 14:24:43 +00:00
"margin": "6 10 -3",
2024-02-09 16:04:58 +00:00
"height": 30,
"spacing": 4,
"modules-left": [
2024-02-10 16:47:19 +00:00
"custom/os",
2024-02-23 14:24:43 +00:00
"hyprland/workspaces",
"wlr/taskbar"
2024-02-09 16:04:58 +00:00
],
2024-03-01 16:35:31 +00:00
"modules-center": [],
2024-02-23 14:24:43 +00:00
"modules-right": [
2024-02-09 16:04:58 +00:00
"network",
"bluetooth",
"cpu",
"memory",
"disk",
"temperature",
2024-02-10 16:47:19 +00:00
"backlight",
2024-02-09 16:04:58 +00:00
"battery",
2024-03-01 16:35:31 +00:00
"custom/wakatime",
"clock",
2024-03-02 17:50:50 +00:00
"custom/timewarrior",
"idle_inhibitor",
2024-03-01 16:35:31 +00:00
"custom/logout"
2024-02-09 16:04:58 +00:00
],
2024-02-23 14:24:43 +00:00
"wlr/taskbar": {
"format": "{icon} {name}",
"icon-size": 20,
"icon-theme": "Numix-Circle",
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
"Alacritty"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Firefox Web Browser": "Firefox",
"Foot Server": "Terminal"
}
},
2024-02-09 16:04:58 +00:00
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
"on": " "
2024-01-31 20:36:15 +00:00
},
2024-02-09 16:04:58 +00:00
"random-icons": {
"off": "<span color=\"#f53c3c\"></span> ",
"on": " "
2024-01-31 20:36:15 +00:00
},
2024-02-09 16:04:58 +00:00
"repeat-icons": {
"on": " "
2024-01-31 20:36:15 +00:00
},
2024-02-09 16:04:58 +00:00
"single-icons": {
"on": "1 "
2024-01-31 20:36:15 +00:00
},
2024-02-09 16:04:58 +00:00
"state-icons": {
"paused": "",
"playing": ""
2024-01-31 20:36:15 +00:00
},
2024-02-09 16:04:58 +00:00
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
},
"idle_inhibitor": {
2024-03-01 16:35:31 +00:00
"format": "󰈈"
2024-02-09 16:04:58 +00:00
},
"tray": {
"spacing": 10
},
"clock": {
2024-03-01 16:35:31 +00:00
"format": "{:󰖉 %H:%M }",
2024-02-23 14:24:43 +00:00
"format-alt": "{: %d/%m/%Y}"
2024-02-09 16:04:58 +00:00
},
"cpu": {
2024-02-23 14:24:43 +00:00
"format": " {usage}%",
2024-02-09 16:04:58 +00:00
"tooltip": false
},
"memory": {
2024-02-23 14:24:43 +00:00
"format": " {}%"
2024-02-09 16:04:58 +00:00
},
"temperature": {
"critical-threshold": 80,
"format": "{icon} {temperatureC}°C",
"format-icons": [
2024-02-23 14:24:43 +00:00
"󱩅",
"󱩅",
2024-02-27 17:39:26 +00:00
"󱩅"
2024-02-09 16:04:58 +00:00
]
},
"backlight": {
"device": "acpi_video1",
2024-03-02 18:03:04 +00:00
"format": "{icon}{percent}%",
2024-02-09 16:04:58 +00:00
"format-icons": [
2024-03-02 18:03:04 +00:00
"󰪞 ",
"󰪟 ",
"󰪠 ",
"󰪡 ",
"󰪢 ",
"󰪣 ",
"󰪥 ",
2024-02-09 16:04:58 +00:00
]
},
"battery": {
"states": {
"warning": 30,
"critical": 15
2024-01-31 20:36:15 +00:00
},
2024-03-01 16:35:31 +00:00
"format": "{icon} {capacity}%",
"format-charging": "󰂈 {capacity}%",
"format-plugged": "󰂄 {capacity}%",
2024-02-09 16:04:58 +00:00
"format-icons": [
2024-03-01 16:35:31 +00:00
"󰁻",
"󰁼",
"󰁿",
"󰂀",
"󰁹"
2024-02-09 16:04:58 +00:00
]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
2024-02-23 14:24:43 +00:00
"format-wifi": "󰖩 {essid} ({signalStrength}%)",
"format-ethernet": "{ipaddr}/{cidr}",
"tooltip-format": "{ifname} via {gwaddr}",
"format-linked": "{ifname} (No IP)",
"format-disconnected": "󰖪 Disconnected",
2024-02-09 16:04:58 +00:00
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": " {volume}%",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"phone": "",
"portable": "",
"car": "",
"default": [
"",
"",
""
]
2024-01-31 20:36:15 +00:00
},
2024-02-09 16:04:58 +00:00
"on-click": "pavucontrol"
},
"disk": {
2024-01-31 20:36:15 +00:00
"interval": 30,
2024-02-23 14:24:43 +00:00
"format": " {percentage_used}%",
2024-02-09 16:04:58 +00:00
"path": "/home"
},
"bluetooth": {
"controller": "bluetoothctl",
2024-02-27 17:39:26 +00:00
"format": " {status}",
"format-connected": " {device_alias}",
2024-02-09 16:04:58 +00:00
"format-connected-battery": " {device_alias} {device_battery_percentage}% ",
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null"
},
"custom/os": {
2024-03-02 18:03:04 +00:00
"format": " archbish",
"format-alt": " "
2024-02-09 16:04:58 +00:00
},
"custom/wakatime": {
2024-03-02 17:34:17 +00:00
"exec": "source $HOME/dotfiles/.env && python3 $HOME/.config/waybar/resources/custom_modules/wakatime_waybar.py",
2024-03-01 16:35:31 +00:00
"format": "󰅱 {}",
2024-02-23 14:24:43 +00:00
"return-type": "json",
"interval": 600
},
2024-03-02 17:50:50 +00:00
"custom/timewarrior": {
"exec": "python3 $HOME/.config/waybar/resources/custom_modules/time_warrior_waybar.py",
"format": "{}",
"on-click": "timew stop && notify-send 'Time Warrior' 'Timer stopped'",
"on-click-right": "timew continue && notify-send 'Time Warrior' 'Timer resumed'",
"return-type": "json",
"interval": 5
},
2024-03-01 16:35:31 +00:00
"custom/logout": {
"format": "󰠜",
"on-click": "wlogout",
"tooltip": false
2024-02-09 16:04:58 +00:00
}
2024-01-31 20:36:15 +00:00
}