summaryrefslogtreecommitdiff
path: root/config/waybar/config.jsonc
blob: 6907e4752d5499f33097fb4b4befc193847d686a (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
    "position": "top",
//	"output": "HDMI-A-1",
    "layer": "top",
    "modules-left": [
//		"custom/distro",
        "niri/workspaces",
		"niri/window"
    ],
    "modules-center": [
    ],
    "modules-right": [
		"network",
        "pulseaudio",
        "clock"
    ],
    "pulseaudio": {
        "tooltip": false,
        "scroll-step": 5,
        "format": "  {volume}%",
        "format-muted": "muted",
        "format-icons": {
            "default": [
                "",
                "",
                ""
            ]
        }
    },
    "privacy": {
        "icon-spacing": 10,
        "icon-size": 18,
        "transition-duration": 250,
        "tooltip": false,
        "modules": [
            {
                "type": "screenshare",
                "tooltip": true,
                "tooltip-icon-size": 24
            },
            {
                "type": "audio-out",
                "tooltip": true,
                "tooltip-icon-size": 24
            },
            {
                "type": "audio-in",
                "tooltip": true,
                "tooltip-icon-size": 24
            }
        ]
    },
	"custom/distro": {
		"format": "󱄅",
		"on-click": "sh -c 'rofi -show drun -config ~/.config/rofi/gruvbox.rasi'",
		"tooltip": false
	},
    "bluetooth": {
        "format": " {status}",
        "format-connected": " CONN",
        "tooltip": true,
        "on-click": "footclient -e bluetoothctl",
        "tooltip-format-connected": "{device_alias}"
    },
    "clock": {
        "format": "󰥔 {:%I:%M %p}",
        "tooltip": true,
        "tooltip-format": "{:%a, %b %d, :%I:%M:%S %p}"
    },
	"niri/workspaces": {
		"format": "●",
		"active-format": "{icon} ●",
		"window-icons": true,
		"icon-size": 20
	},
    "niri/window": {
        "icon": false,
        "icon-size": 20
    },
    "niri/mode": {
        "format": "<span style=\"italic\">{}</span>"
    },
    "network": {
       // "interface": "wlo1",
		"interface": "eno1",
        "format-wifi": "󰖩 {essid}",
        "format-ethernet": "󰛳 {ipaddr}/{cidr}",
        "format-disconnected": "󱚼 disconnected",
        "tooltip": true,
        "tooltip-format": "Click to copy",
        "max-length": 50,
        "on-click": "sh -c 'ip addr show eno1 | grep \"inet \" | awk \"{print \\$2}\" | sed \"s#/.*##\" | wl-copy'"
    },
    "battery": {
        "format": "BAT {capacity}%",
        "interval": 10,
        "states": {
            "warning": 20,
            "critical": 10
        },
        "format-time": "{H}:{m}",
        "format-charging": "BAT {capacity}%",
        "format-discharging": "BAT {capacity}%",
        "tooltip-format": "{power}W, {cycles} cycles"
    }
}