"position": "bottom", // Waybar position (top|bottom|left|right)
"height": 26, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
- "spacing": 5, // Gaps between modules (4px)
+ "spacing": 6, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["hyprland/workspaces", "mpd"],
"modules-center": ["hyprland/window"],
"margin": "0",
- "modules-right": ["keyboard-state", "cpu", "memory", "temperature#temp2", "temperature", "pulseaudio", "idle_inhibitor", "clock", "tray"],
+ "modules-right": ["keyboard-state", "cpu", "memory", "temperature#temp2", "temperature", "pulseaudio", "clock", "tray", "idle_inhibitor", "custom/wallpaper", "custom/powermenu"],
// Modules configuration
},
- "idle_inhibitor": {
- "format": "{icon}",
- "format-icons": {
- "activated": "",
- "deactivated": ""
- }
- },
-
-
"tray": {
// "icon-size": 21,
"spacing": 10
},
- "clock": {
- // "timezone": "America/New_York",
- "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
- "format-alt": "{:%Y-%m-%d}"
- },
-
-
"cpu": {
- "format": "{usage:2}% ",
- "tooltip": true,
+ "format": " {usage:2}%",
"on-click": "/usr/bin/foot -a popup htop",
"interval": 2,
},
"memory": {
- "format": "{percentage:2}% ",
+ "format": " {percentage:2}%",
+ "on-click": "/usr/bin/foot -a popup htop",
"interval": 2,
},
"hwmon-path": "/sys/class/hwmon/hwmon4/temp7_input",
"critical-threshold": 60,
// "format-critical": "{temperatureC}°C {icon}",
- "format": "WaterGPU: {temperatureC}°C {icon}",
+ "format": "{icon} {temperatureC}°C WaterGPU",
"format-icons": ["", "", ""]
},
"hwmon-path": "/sys/class/hwmon/hwmon4/temp6_input",
"critical-threshold": 60,
// "format-critical": "{temperatureC}°C {icon}",
- "format": "WaterCPU: {temperatureC}°C {icon}",
+ "format": "{icon} {temperatureC}°C WaterCPU",
"format-icons": ["", "", ""]
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
- "format": "{volume}% {icon} {format_source}",
- "format-bluetooth": "{volume}% {icon} {format_source}",
+ "format": "{icon} {volume}% {format_source}",
+ "format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
- "format-muted": " {format_source}",
- "format-source": "{volume}% ",
+ "format-muted": " {format_source}",
+ "format-source": " {volume}%",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"on-click": "pavucontrol"
},
-}
+ "clock": {
+ // "timezone": "America/New_York",
+ "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
+ "format-alt": "{:%Y-%m-%d}"
+ },
+
+
+ "idle_inhibitor": {
+ "format": "{icon}",
+ "format-icons": {
+ "activated": "",
+ "deactivated": ""
+ }
+ },
+
+
+ "custom/wallpaper": {
+ "format": " ",
+ "on-click": "$HOME/.local/bin/rndwallpaper swww",
+ "tooltip": false,
+ "interval": "once",
+ },
+
+
+ "custom/powermenu": {
+ "format": " ⏻ ",
+ "on-click-middle": "$HOME/.config/hypr/scripts/powermenu.sh",
+ "tooltip": false,
+ "interval": "once",
+ },
+}
+# kak: filetype=json:ts=2:iw=2
window#waybar {
- background-color: rgba(43, 48, 59, 1);
+ background-color: rgba(43, 48, 59, 1.0);
border-bottom: 2px solid rgba(100, 114, 125, 1);
color: #ffffff;
transition-property: background-color;
transition-duration: .5s;
}
-
window#waybar.hidden {
opacity: 0.2;
}
-
-/*
window#waybar.empty {
background-color: transparent;
+ background-image: linear-gradient(0deg, rgba(0,0,0,1.0), rgba(0,0,0,0))
}
-window#waybar.solo {
- background-color: #FFFFFF;
+window#waybar.foot {
+ background-color: rgba(24,24,24,1.0);
}
-*/
-
-window#waybar.termite {
- background-color: #3F3F3F;
-}
-
-window#waybar.chromium {
- background-color: #000000;
- border: none;
-}
-
#workspaces button {
border: none;
border-radius: 0;
}
-
#workspaces button:hover {
background: inherit;
border-bottom: 2px solid tomato;
box-shadow: inset 0 -28px #c9545d;
}
-
#workspaces button.active {
font-weight: bold;
border-bottom: 2px solid lightblue;
}
-
#workspaces button.focused {
border-bottom: 2px solid #c9545d;
}
-
#workspaces button.urgent {
border-bottom: 2px solid #eb4d4b;
}
-
-button {
- /* Use box-shadow instead of border so the text isn't offset */
- box-shadow: inset 0 -3px transparent;
- /* Avoid rounded borders under each button name */
- border: none;
- border-radius: 0;
-}
-
-/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
-button:hover {
- background: inherit;
- box-shadow: inset 0 -3px #ffffff;
-}
-
-
#cpu,
#memory,
#temperature {