summaryrefslogtreecommitdiff
path: root/.config/waybar/config
diff options
context:
space:
mode:
authorAndrew Guschin <guschin@altlinux.org>2024-03-06 10:51:27 +0400
committerAndrew Guschin <guschin@altlinux.org>2024-03-06 10:51:27 +0400
commit663e950cc9dbe6974c0e9b441780b99872f90df4 (patch)
tree1ea2a8d2583fcc6b4790dc37ef1bc9c22efb5868 /.config/waybar/config
parent04894fe2e715a1ba1cb3f6ab19947abc56cd077b (diff)
add hyprland and waybar configs
Diffstat (limited to '.config/waybar/config')
-rw-r--r--.config/waybar/config68
1 files changed, 68 insertions, 0 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
new file mode 100644
index 0000000..96f0e5e
--- /dev/null
+++ b/.config/waybar/config
@@ -0,0 +1,68 @@
+// -*- mode: json -*-
+
+{
+ "layer": "top",
+
+ "modules-left": [
+ "hyprland/workspaces",
+ ],
+ "modules-center": [
+ "clock#time",
+ "clock#date",
+ ],
+ "modules-right": [
+ "pulseaudio",
+ "battery",
+ "tray"
+ ],
+
+ "hyprland/workspaces": {
+ "format": "{icon}",
+ "format-active": " {icon} ",
+ "on-click": "activate"
+ },
+
+ "clock#time": {
+ "format": "{:%H:%M:%S}",
+ "tooltip": false,
+ "interval": 1
+ },
+ "clock#date": {
+ "format": "{:%A, %m/%d}",
+ "tooltip": false
+ },
+
+ "pulseaudio": {
+ "format": "{icon} {volume:2}%",
+ "format-bluetooth": "{icon} {volume}% ",
+ "format-muted": "MUTE",
+ "format-icons": {
+ "headphones": "",
+ "default": [
+ "",
+ ""
+ ]
+ },
+ "scroll-step": 5,
+ "on-click": "pamixer -t",
+ "on-click-right": "pavucontrol"
+ },
+ "battery": {
+ "states": {
+ "good": 95,
+ "warning": 30,
+ "critical": 15
+ },
+ "format": "{icon} {capacity}%",
+ "format-icons": [
+ "",
+ "",
+ "",
+ "",
+ ""
+ ]
+ },
+ "tray": {
+ "spacing": 10
+ }
+}