all repos

dotfiles @ e815923

i use rach linux btw

dotfiles/config/waybar/config (view raw)

1
// vim: ft=jsonc
2
{
3
    "position": "top",
4
    "layer": "top",
5
    "height": 14,
6
    "margin-top": 0,
7
    "margin-bottom": 0,
8
    "margin-left": 0,
9
    "margin-right": 0,
10
    "modules-left": [
11
        "hyprland/workspaces",
12
        "hyprland/window"
13
    ],
14
    "modules-center": [
15
        "clock",
16
        "cpu"
17
    ],
18
    "modules-right": [
19
        "memory",
20
        "tray",
21
        "hyprland/language",
22
        "backlight",
23
        "battery",
24
        "pulseaudio",
25
        "network"
26
    ],
27
28
    // modules
29
    "clock": {
30
        "format": "  {:%a, %d %b %H:%M}",
31
        "tooltip": "true",
32
        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
33
        "on-click": "morgen"
34
    },
35
36
    "hyprland/workspaces": {
37
        "active-only": false,
38
        "all-outputs": true,
39
        "disable-scroll": false,
40
        "on-scroll-up": "hyprctl dispatch workspace -1",
41
        "on-scroll-down": "hyprctl dispatch workspace +1",
42
        "format": "{icon}",
43
        "on-click": "activate",
44
        "sort-by-number": true,
45
        "persistent_workspaces": { "*": 9 },
46
        "format-icons": {
47
            "urgent": "",
48
            "default": "",
49
            "1": "󰅨",
50
            "2": "󰖟",
51
            "3": "",
52
            "4": "󰠮",
53
            "5": "",
54
            "6": "󰅨",
55
            "7": "󰎄"
56
        }
57
    },
58
59
    "hyprland/window": {
60
        "max-length": "40"
61
    },
62
63
    "battery": {
64
        "format":"{icon}  {capacity}%",
65
        "format-charging":"{icon}  {capacity}%",
66
        "format-plugged": "{capacity}%  ",
67
        "format-alt": "{icon}  {time}",
68
        "format-icons": ["", "", "", "", ""],
69
        "tooltip": false,
70
        "states": {
71
            "good": 95,
72
            "warning": 30,
73
            "critical": 15
74
        }
75
    },
76
77
    "memory": {
78
        "format": "󰍛  {used}%",
79
        "interval": 5
80
    },
81
82
    "cpu": {
83
        "format": "󰻠  {usage}%",
84
        "format-alt": "󰻠  {avg_frequency} GHz",
85
        "interval": 5
86
    },
87
88
    "network": {
89
        "format-wifi": "󰤨  {essid}",
90
        "format-linked": " {ifname} (No IP)",
91
        "format-disconnected": "󰤭",
92
        "format-alt": "󰤨 {ifname}: {ipaddr}/{cidr}",
93
        "tooltip-format": "{essid}",
94
        "on-click-right": "nm-connection-editor",
95
        "tooltip": false
96
    },
97
98
    "tray": {
99
        "icon-size": 16,
100
        "spacing": 5
101
    },
102
103
    "backlight": {
104
        "format": "{icon}  {percent}%",
105
        "format-icons": ["", "", "", "", "", "", "", "", ""],
106
        "on-scroll-up": "brightnessctl set +10%",
107
        "on-scroll-down": "brightnessctl set 10%-",
108
        "tooltip": false
109
    },
110
111
    "pulseaudio": {
112
        "format": "{icon}  {volume}%",
113
        "format-muted": "󰝟",
114
        "format-icons": {
115
            "default": ["󰕿", "󰖀", "󰕾"],
116
            "headphone": ""
117
        },
118
        "on-click": "pavucontrol",
119
        "tooltip": false,
120
        "on-scroll-up": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+",
121
        "on-scroll-down": "wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-"
122
    },
123
124
    "hyprland/language": {
125
        "format": "󰌌  {}",
126
        "format-uk": "укр",
127
        "format-en": "eng"
128
    }
129
}