{ "layer": "top", "margin": "0", "height": 25, "spacing": 0, "modules-left": [ "custom/os", "hyprland/workspaces", "wlr/taskbar" ], "modules-center": [ ], "modules-right": [ "network", "bluetooth", "cpu", "memory", "temperature", "backlight", "disk", "custom/diskBackup", "battery", "custom/wakatime", "clock", "custom/timewarrior", "custom/lock", "custom/restart", "custom/shutdown", "custom/notification", ], "wlr/taskbar": { "format": "{icon}", "icon-size": 20, "icon-theme": "Pop Extended", "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" } }, "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": " " }, "random-icons": { "off": " ", "on": " " }, "repeat-icons": { "on": " " }, "single-icons": { "on": "1 " }, "state-icons": { "paused": "", "playing": "" }, "tooltip-format": "MPD (connected)", "tooltip-format-disconnected": "MPD (disconnected)" }, "idle_inhibitor": { "format": "󰖨" }, "tray": { "spacing": 10 }, "clock": { "format": "󱑎 {:%H:%M}", "format-alt": "󱑎 {:%d/%m/%Y}" }, "cpu": { "format": "󰛕 {usage}%", "tooltip": false }, "memory": { "format": " {}%", }, "temperature": { "critical-threshold": 80, "format": "{icon} {temperatureC}°C", "format-icons": [ "󱩅", "󱩅", "󱩅" ] }, "backlight": { "device": "acpi_video1", "format": "{icon} {percent}%", "format-icons": [ "󰪞 ", "󰪟 ", "󰪠 ", "󰪡 ", "󰪢 ", "󰪣 ", "󰪥 " ] }, "battery": { "states": { "warning": 30, "critical": 15 }, "format": "{icon} {capacity}%", "format-charging": "{icon} {capacity}%", "format-plugged": "{icon} {capacity}%", "format-icons": [ "󰁻", "󰁼", "󰁿", "󰂀", "󰁹" ] }, "battery#bat2": { "bat": "BAT2" }, "network": { "format-wifi": "󰖩 {essid}", "format-ethernet": "{ipaddr}/{cidr}", "tooltip-format": "{ifname} via {gwaddr}", "format-linked": "{ifname} (No IP)", "format-disconnected": "󰖪 ", "format-alt": "󰖩 {essid} ({signalStrength}%)" }, "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": [ "", "", "" ] }, "on-click": "pavucontrol" }, "disk": { "interval": 30, "format": "󰟸 {percentage_used}%", "path": "/home" }, "bluetooth": { "controller": "bluetoothctl", "format": " active", "format-connected": " connected", "format-alt": " {device_alias}", "format-connected-battery": " {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": { "format": "" }, "custom/wakatime": { "exec": "source $HOME/dotfiles/.env && python3 $HOME/.config/waybar/resources/custom_modules/wakatime_waybar.py", "format": "󰲌 {}", "return-type": "json", "interval": 600 }, "custom/timewarrior": { "exec": "python3 $HOME/.config/waybar/resources/custom_modules/time_warrior_waybar.py", "format": "{}", "on-click": "sleep 0.15 && timew stop && notify-send 'Time Warrior' 'Timer stopped'", "on-click-right": "sleep 0.1 && timew continue && notify-send 'Time Warrior' 'Timer resumed'", "return-type": "json", "interval": 5 }, "custom/logout": { "format": "󰛂", "on-click": "sleep 0.1 && wlogout", "tooltip": false }, "custom/notification": { "tooltip": false, "format": "{icon}", "format-icons": { "notification": "󰂝", "none": "󰂚", "dnd-notification": "󰂛", "dnd-none": "󰂛", "inhibited-notification": "󰂛", "inhibited-none": "󰂚", "dnd-inhibited-notification": "󰂛", "dnd-inhibited-none": "󰂚", }, "return-type": "json", "exec-if": "which swaync-client", "exec": "swaync-client -swb", "on-click": "sleep 0.2 && swaync-client -t -sw", "on-click-right": "swaync-client -d -sw", "escape": true }, "custom/diskBackup": { "format": "󰠘 {}", "exec": "df -h /media/backups | awk 'NR==2{print $5}'", "interval": 60 }, "custom/lock": { "format": "󰍁", "on-click": "hyprlock" }, "custom/shutdown": { "format": "󱠡", "on-click": "systemctl poweroff" }, "custom/restart": { "format": "󰑓", "on-click": "systemctl reboot" }, }