summaryrefslogtreecommitdiff
path: root/.config/waybar/config
blob: 2cee81c475b19ca21c8db3dd1735972ef21e745a (about) (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
// -*- mode: js-json -*-

{
    "layer": "top",
    "position": "top",

    "modules-left": [
	"hyprland/workspaces"
    ],
    "modules-center": [
	"clock#3"
    ],
    "modules-right": [
	"pulseaudio",
	"memory",
	"cpu",
	"battery",
	"tray"
    ],

    // Modules // 
    "hyprland/workspaces": {
	"format": "{name}",
	"active-only": false,
	"all-outputs": false,
	"show-special": false,
	"on-click": "activate",
	"on-scroll-up": "hyprctl dispatch workspace e+1",
	"on-scroll-down": "hyprctl dispatch workspace e-1"
    },
    "clock#1": {
	"format": "{:%a}",
	"tooltip": false
    },
    "clock#2": {
	"format": "{:%H:%M}",
	"tooltip": false
    },
    "clock#3": {
	"format": "{:%a %H:%M | %y/%m/%d}",
	"tooltip": false
    },

    "pulseaudio": {
	"format": "VOL: {volume:2}%",
	"format-bluetooth": "{icon}  {volume}%",
	"format-muted": "MUTE",
	"format-icons": {
	    "headphones": "",
	    "default": [
		"",
		""
	    ]
	},
	"scroll-step": 5,
	"on-click": "pamixer -t",
	"on-click-right": "pavucontrol"
    },
    "memory": {
	"interval": 5,
	"format": "MEM {}%"
    },
    "cpu": {
	"interval": 5,
	"format": "CPU {usage:2}%"
    },
    "battery": {
	"states": {
	    "good": 95,
	    "warning": 30,
	    "critical": 15
	},
	"format": "BAT: {capacity}%",
    },
    "disk": {
	"interval": 5,
	"format": "Disk {percentage_used:2}%",
	"path": "/"
    },
    "tray": {
	"icon-size": 10
    }
}