This commit is contained in:
jay
2023-04-17 01:53:49 +08:00
parent 1b3afa092b
commit 896ca95ce1
6 changed files with 44 additions and 34 deletions
+10 -16
View File
@@ -6,7 +6,8 @@
// "width": 1280, // Waybar width
"spacing": 2, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
"modules-left": ["wlr/workspaces", "hyprland/submap", "hyprland/window"],
// "modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
"modules-center": [],
"modules-right": [
"idle_inhibitor",
@@ -25,8 +26,6 @@
"custom/sep",
"backlight",
"custom/sep",
"keyboard-state",
"custom/sep",
"battery",
"custom/sep",
"clock",
@@ -39,6 +38,13 @@
"interval": "once",
"tooltip": false
},
"sway/window": {
"max-length": 40
},
"wlr/workspaces": {
"format": "{name}",
"on-click": "activate"
},
"custom/pipewire": {
"exec": "/home/jay/bin/get-volume.sh",
"interval": "once",
@@ -51,9 +57,6 @@
},
"on-click": "pavucontrol"
},
"sway/window": {
"max-length": 40
},
"sway/workspaces": {
"disable-scroll": true,
// "all-outputs": true,
@@ -81,15 +84,6 @@
// "default": ""
// }
},
"keyboard-state": {
// "numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
@@ -131,7 +125,7 @@
},
"temperature": {
// "thermal-zone": 2,
"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input",
"hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": " {temperatureC}°C",
+6 -1
View File
@@ -33,7 +33,12 @@ window#waybar.empty #window {
/* border: 1px solid #8fd4ff; */
/* border-radius: 5px; */
}
#workspaces button.focused {
/* #workspaces button.focused { */
/* color: white; */
/* border: 1px solid #8fd4ff; */
/* border-radius: 5px; */
/* } */
#workspaces button.active {
color: white;
border: 1px solid #8fd4ff;
border-radius: 5px;