tangled
alpha
login
or
join now
vitorpy.com
/
dotfiles
0
fork
atom
vitorpy's Dotfiles
0
fork
atom
overview
issues
pulls
pipelines
Add pill background to hyprwhspr waybar module
vitorpy.com
4 months ago
c6300ff5
0e6d340d
+26
-2
2 changed files
expand all
collapse all
unified
split
private_dot_config
waybar
config
style.css
+14
-2
private_dot_config/waybar/config
···
4
4
"modules-left": [
5
5
"battery#charging",
6
6
"custom/dnf-updates",
7
7
-
"custom/reboot-required"
7
7
+
"custom/reboot-required",
8
8
+
"custom/hyprwhspr"
8
9
],
9
10
"modules-center": [
10
11
"custom/clock"
···
114
115
"exec": "~/.config/waybar/scripts/reboot-required.sh",
115
116
"interval": 300,
116
117
"return-type": "json"
118
118
+
},
119
119
+
"custom/hyprwhspr": {
120
120
+
"exec": "/usr/lib/hyprwhspr/config/hyprland/hyprwhspr-tray.sh status",
121
121
+
"interval": 2,
122
122
+
"return-type": "json",
123
123
+
"exec-on-event": true,
124
124
+
"format": "{}",
125
125
+
"on-click": "/usr/lib/hyprwhspr/config/hyprland/hyprwhspr-tray.sh toggle",
126
126
+
"on-click-right": "/usr/lib/hyprwhspr/config/hyprland/hyprwhspr-tray.sh start",
127
127
+
"on-click-middle": "/usr/lib/hyprwhspr/config/hyprland/hyprwhspr-tray.sh restart",
128
128
+
"tooltip": true
117
129
}
118
118
-
}
130
130
+
}
+12
private_dot_config/waybar/style.css
···
1
1
+
@import "/usr/lib/hyprwhspr/config/waybar/hyprwhspr-style.css";
2
2
+
1
3
/* Global look + font */
2
4
* {
3
5
font-family: "NotoSans Nerd Font", sans-serif;
···
62
64
margin: 4px 8px;
63
65
padding: 0 10px;
64
66
}
67
67
+
68
68
+
#custom-hyprwhspr {
69
69
+
background: #1f1f1f;
70
70
+
color: #dcdccc;
71
71
+
border: 1px solid #3f3f3f;
72
72
+
border-radius: 14px;
73
73
+
margin: 4px 8px;
74
74
+
padding: 0 10px;
75
75
+
}
76
76
+
65
77
.modules-right {
66
78
background: #1f1f1f;
67
79
color: #dcdccc;