summary refs log tree commit diff
path: root/.config/waybar
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2024-01-27 14:29:00 -0500
committerZach DeCook <zachdecook@librem.one>2024-01-27 14:29:00 -0500
commit057946e54605c4353d85a73e5bbe63e0532ea78e (patch)
tree7d2e3600d9675c60049382463fa8e16c6ceec4a8 /.config/waybar
parent160f7c5b35bf088b5fd22ae998e5e845dc47c3c6 (diff)
downloaddotfiles-057946e54605c4353d85a73e5bbe63e0532ea78e.tar.gz
hyprland: more config
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config14
1 files changed, 8 insertions, 6 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index 6ea7b82..0439971 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -5,7 +5,7 @@
     // Choose the order of the modules
     "modules-left": ["sway/workspaces", "hyprland/workspaces", "sway/mode",  "hyprland/submap", "sway/scratchpad", "custom/media"],
     "modules-center": [],
-    "modules-right": ["temperature", "network", "battery", "pulseaudio", "tray"],
+    "modules-right": ["clock","backlight", "temperature", "network", "battery", "pulseaudio", "tray"],
     // Modules configuration
     // "sway/workspaces": {
     //     "disable-scroll": true,
@@ -81,7 +81,7 @@
     },
     "clock": {
         // "timezone": "America/New_York",
-        "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
+        "format": "{:%H:%M}",
         "format-alt": "{:%Y-%m-%d}",
         "locale": "C"
     },
@@ -96,8 +96,10 @@
     },
     "backlight": {
         // "device": "acpi_video1",
-        "format": "{percent}% {icon}",
-        "format-icons": ["", "", "", "", "", "", "", "", ""]
+        "format": "{icon} ",
+        "format-alt": "{percent}% {icon} ",
+        "format-icons": ["", "", "", "", "", "", "", "", ""],
+        "on-click": "brightnessctl s $(( ( $(brightnessctl g) + ( $(brightnessctl m) / 8 ) ) % $(brightnessctl m) ))"
     },
     "battery": {
         "states": {
@@ -120,10 +122,10 @@
     "network": {
         // "interface": "wlp2*", // (Optional) To force the use of this interface
         "format-wifi": "{icon} ",
-        "format-ethernet": "{ipaddr}/{cidr} ",
+        "format-ethernet": "{icon} ",
         "tooltip-format": "",
         "format-linked": "{ifname} (No IP) ",
-        "format-disconnected": "Disconnected ⚠",
+        "format-disconnected": "⚠",
         "format-alt": "{signalStrength}% {icon} ",
         "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
     },