aboutsummaryrefslogtreecommitdiff
path: root/home-manager/waybar/config/config.jsonc
blob: 8dcf08a61f97925d688d0e248c37df133728da63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
    "layer": "bottom",
    "position": "bottom",
	"height": 30,
    "modules-left": ["hyprland/workspaces"],
	"modules-center": [],
    "modules-right": ["tray", "pulseaudio", "memory", "cpu", "battery", "clock"],
    "hyprland/workspaces": {
	"format": "{icon} {name}",
	"on-click": "activate",
	"on-scroll-up": "hyprctl dispatch workspace e+1",
	"on-scroll-down": "hyprctl dispatch workspace e-1",
	"format-icons": {
	    "urgent": "",
	    "active": "",
	    "default": ""
	},
	"sort-by-number": true
    },
    "tray": {
	"spacing": 5,
    },
    "pulseaudio": {
	"scroll-step": 5.0,
	"on-click": "pamixer -t",
	"format": " {volume}%",
	"format-muted": " {volume}%",
    },
    "memory": {
	"format": "󰍛 {percentage}%"
    },
    "cpu": {
	"format": " {usage}%"
    },
    "battery": {
	"format": "{icon} {time} {capacity}%",
	"format-time": " {H}:{M}",
	"format-icons": ["", "", "", "", ""]
    },
    "clock": {
	"format": "󰥔 {:%H:%M:%S}",
	"format-alt": "󰥔 {:%a, %d. %b  %H:%M:%S}",
	"interval": 1
    },
    "network": {
	"interface": "wlp2s0",
	"format": "{ifname}",
	"format-wifi": "{essid} ({signalStrength}%) ",
	"format-ethernet": "{ipaddr}/{cidr} 󰊗",
	"format-disconnected": "",
	"tooltip-format": "{ifname} via {gwaddr} 󰊗",
	"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
	"tooltip-format-ethernet": "{ifname} ",
	"tooltip-format-disconnected": "Disconnected",
	"max-length": 50
    }
}