dotfiles/sericea/.config/waybar/config

140 lines
2.9 KiB
Plaintext
Raw Normal View History

2024-04-26 11:41:19 -05:00
[{
2024-02-15 01:36:10 -06:00
"layer": "top",
"height": 40,
2024-04-26 11:41:19 -05:00
"id": "top",
2024-02-15 02:19:28 -06:00
"modules-left": ["sway/workspaces", "sway/mode"],
2024-04-26 11:41:19 -05:00
"modules-center": ["sway/window"],
"modules-right": ["tray"],
2021-02-05 09:09:36 -06:00
"sway/workspaces": {
2024-04-13 13:38:46 -05:00
"all-outputs": false,
"disable-scroll": true,
2024-04-16 10:30:13 -05:00
"persistent-workspaces": {
2024-04-13 16:31:16 -05:00
"1": ["eDP-1", "DP-1"],
"2": ["eDP-1", "DP-1"],
"3": ["eDP-1", "DP-1"],
"4": ["eDP-1", "DP-1"],
"5": ["eDP-1", "DP-1"],
"6": ["eDP-1", "DP-1"],
"7": ["eDP-1", "DP-1"],
"8": ["eDP-1", "DP-2"],
"9": ["eDP-1", "DP-2"],
2024-06-25 22:18:35 -05:00
"10": ["eDP-1", "DP-2"],
"11": ["eDP-1", "DP-2"]
}
2021-02-05 09:09:36 -06:00
},
2024-04-26 11:41:19 -05:00
"sway/window": {
2024-02-15 01:54:38 -06:00
},
2021-02-05 09:09:36 -06:00
"tray": {
"icon-size": 16,
"spacing": 10
2024-04-26 11:41:19 -05:00
}
},
{
"id": "bottom",
"layer": "top",
"position": "bottom",
"height": 40,
2024-07-20 13:21:45 -05:00
"modules-left": ["gamemode", "custom/backup", "battery", "cpu", "memory", "temperature", "network"],
2024-04-26 14:00:30 -05:00
"modules-center": [],
2024-07-20 13:21:45 -05:00
"modules-right": ["mpris", "pulseaudio", "backlight", "idle_inhibitor", "clock"],
2021-02-05 09:09:36 -06:00
"clock": {
"format": "{:%a %b %d %I:%M %p}",
"format-alt": "{:%Y-%m-%d}",
"tooltip": false
},
2024-04-26 11:41:19 -05:00
"network": {
"interval": 1,
"format": " {bandwidthUpBytes}  {bandwidthDownBytes}",
"format-disconnected": ""
2024-04-26 11:41:19 -05:00
},
2021-02-05 09:09:36 -06:00
"battery": {
"states": {
2024-02-13 20:02:16 -06:00
"good": 100,
2021-02-05 09:09:36 -06:00
"warning": 30,
"critical": 15
},
2024-02-13 20:02:16 -06:00
"format": "{icon} {capacity}%",
"format-charging": "{icon} {capacity}%",
"format-plugged": "{icon} {capacity}%",
2021-02-05 09:09:36 -06:00
"format-icons": ["", "", "", "", ""]
},
"backlight": {
"format": "{icon} {percent}%",
"format-icons": ["", ""]
},
2024-04-26 11:41:19 -05:00
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"gamemode": {
"hide-not-running": false,
"format": "{glyph}",
"glyph": "",
"use-icon": false,
"icon-spacing": 0,
"icon-size": 0
},
"pulseaudio": {
"scroll-step": 5,
"format": "{icon} {volume}%",
"format-icons": {
"default": ["", "", ""]
},
"on-scroll-up": "/usr/libexec/sway/volume-helper --limit 100 --increase 5",
"on-scroll-down": "/usr/libexec/sway/volume-helper --limit 100 --decrease 5",
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle && /usr/libexec/sway/volume-helper"
},
2024-04-26 23:26:48 -05:00
"cpu": {
"interval": 3,
"format": " {usage}%",
"states": {
"critical": 90,
"warning": 80,
"regular": 50
}
},
"memory": {
2024-04-26 23:26:48 -05:00
"interval": 5,
"format": " {percentage}% <span font-size=\"7pt\">{swapPercentage}%</span>",
2024-04-26 23:26:48 -05:00
"states": {
"critical": 90,
"warning": 80,
"regular": 50
}
},
2024-07-20 13:21:45 -05:00
"temperature": {
"format": " {temperatureC}°",
"states": {
"critical": 90,
"warning": 80,
"regular": 70
}
},
"mpris": {
"interval": 1,
2024-04-26 12:00:56 -05:00
"artist-len": 30,
"album-len": 30,
"title-len": 40,
2024-04-26 11:41:19 -05:00
"format": "{player_icon} - {dynamic}",
"ignored-players": [
"firefox"
],
"player-icons": {
"default": "♫"
},
"status-icons": {
"playing": "⏵",
"paused": "⏸",
"stopped": "⏹"
}
},
"custom/backup": {
"interval": 60,
"format": "",
"exec": "systemctl is-failed backup.service"
2021-02-05 09:09:36 -06:00
}
2024-04-26 11:41:19 -05:00
}]