aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar/config
blob: 6ab47711d9e11eb8a46d0fb102e9d452909a9496 (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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
    "layer": "top",
    "position": "top",
    "spacing": 20,
    "reload_style_on_change": true,
    "modules-left": ["hyprland/workspaces", "hyprland/window"],
    "modules-center": [],
    "modules-right": ["network", "custom/weather","memory", "pulseaudio","wireplumber", "clock","tray"],
    
    "hyprland/window": {
        "format": "{}",
        "max-length": 50,
        "separate-outputs": true,
    },

    "hyprland/workspaces": {
        "disable-scroll": true,
        "all-outputs": true,
        "on-click": "activate",
        "format": "{name}",
	      "format-icons": {
		        "1": "",
		        "2": "",
		        "3": "",
		        "4": "",
		        "5": "",
		        "default": ""
	      },
    },
    "network": {
        "interface": "wg0",
        "tooltip": false,
        "format": "VPN",
        "format-disconnected": "VPN",
        "on-click": "~/.config/waybar/scripts/vpn-toggle",
    },
    "tray": {
        "spacing": 10
    },
    "clock": {
	      "interval": 60,
	      "format": "{:%Y %b %d (%a) 🕙 %H:%M}",
        "tooltip-format": "{:%a %d %b}"
    },
    "mpris": {
        "tooltip": false,
	      "format": "{player_icon} {artist} - {title}",
	      "format-paused": "{status_icon} <b>{artist} - {title}</b>",
	      "player-icons": {
		    "default": "▶",
        "spotify_player": "",
	  },
	      "status-icons": {
		       "paused": "󰏤",
           "stopped": "",
	      },
	      "ignored-players": ["firefox"]
    },
    "cpu": {
        "interval": 10,
	      "format": " {usage}%",       
	      "tooltip": false,
	      "spacing": 0
    },
    "memory": {
        "tooltip": false,
        "format": " {used:0.01f}Gb",
	      "interval": 10,
    },
    "temperature": {
        "tooltip": false,
        "thermal-zone": 2,
        "format": " {temperatureC}°C",
	      "interval": 10,
    },
    "image":{
        "exec":"~/.config/waybar/scripts/album_art.sh",
       //"path": "/tmp/cover.jpeg",
       "size": 32,
        "interval": 5,  
    },
    "wireplumber": {
        "format": "{icon} {volume}%",
        "format-muted": "󰝟",
        "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
        "format-icons": [" ", " ", " "]
    },
    "pulseaudio": {
        "tooltip" : false,
        "format": "{format_source}",
        "format-source": " {volume}%",
        "format-source-muted": " ",
        "on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
    },
   "custom/weather" : {
        "tooltip" : false,
        "signal": 9,
        "format" : "{}",
        "interval" : 300,
        "exec" : "~/.config/waybar/scripts/weather",
        "on-click": "~/.config/waybar/scripts/hyprweather",
        "on-click-right": "pkill -RTMIN+9 waybar"
    },
    "custom/pacman" : {
        "tooltip" : false,
        "signal": 8,
        "format"  : "{}",
        "interval"  : 18000,
        "exec"  : "~/.config/waybar/scripts/pacpackages",
        "on-click" : "~/.config/waybar/scripts/pacupdate",
        "on-click-right" : "pkill -RTMIN+8 waybar"

    },
    "custom/separator" : {
        "format" : " | ",
    },
    "custom/doppler" : {
      "format": "🌅 ",
      "on-click": "~/.config/waybar/scripts/hyprdoppler",
    }
}