updated waybar + fluxo
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
wallpaper {
|
wallpaper {
|
||||||
monitor =
|
monitor =
|
||||||
path = ~/Pictures/reze/reze.png
|
path = ~/Pictures/rem/rem-oled.png
|
||||||
fit_mode = cover
|
fit_mode = cover
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+39
-30
@@ -11,16 +11,13 @@
|
|||||||
"margin-right": 10,
|
"margin-right": 10,
|
||||||
|
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"group/spaces"
|
||||||
"hyprland/window"
|
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"group/center"
|
"group/center"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"tray",
|
"group/powertray"
|
||||||
"custom/gamemode",
|
|
||||||
"custom/power_status"
|
|
||||||
],
|
],
|
||||||
|
|
||||||
// --- Standard Modules ---
|
// --- Standard Modules ---
|
||||||
@@ -41,20 +38,33 @@
|
|||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs mpris",
|
"exec": "fluxo-rs mpris",
|
||||||
"on-click": "playerctl play-pause",
|
"on-click": "playerctl play-pause",
|
||||||
"signal": 11,
|
"signal": 11
|
||||||
"interval": 0
|
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 18,
|
"icon-size": 18,
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
},
|
},
|
||||||
|
"group/spaces": {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules": [
|
||||||
|
"hyprland/workspaces",
|
||||||
|
"hyprland/window"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"group/powertray": {
|
||||||
|
"orientation": "horizontal",
|
||||||
|
"modules": [
|
||||||
|
"tray",
|
||||||
|
"custom/dnd",
|
||||||
|
"custom/gamemode",
|
||||||
|
"custom/power_status"
|
||||||
|
]
|
||||||
|
},
|
||||||
"group/center": {
|
"group/center": {
|
||||||
"orientation": "horizontal",
|
"orientation": "horizontal",
|
||||||
"modules": [
|
"modules": [
|
||||||
"custom/mpris",
|
"custom/mpris",
|
||||||
"clock"
|
"clock"
|
||||||
// "custom/dnd"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"custom/gamemode": {
|
"custom/gamemode": {
|
||||||
@@ -62,8 +72,7 @@
|
|||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs game",
|
"exec": "fluxo-rs game",
|
||||||
"on-click": "~/.config/hypr/scripts/gamemode.sh",
|
"on-click": "~/.config/hypr/scripts/gamemode.sh",
|
||||||
"signal": 7,
|
"signal": 7
|
||||||
"interval": 5
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/power_status": {
|
"custom/power_status": {
|
||||||
@@ -95,7 +104,8 @@
|
|||||||
"custom/cpu",
|
"custom/cpu",
|
||||||
"custom/mem",
|
"custom/mem",
|
||||||
"custom/disk-root",
|
"custom/disk-root",
|
||||||
"custom/network"
|
"custom/network",
|
||||||
|
"custom/backlight"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
@@ -112,44 +122,39 @@
|
|||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs sys",
|
"exec": "fluxo-rs sys",
|
||||||
"signal": 5,
|
"signal": 5,
|
||||||
"interval": 1
|
"interval": 5
|
||||||
},
|
},
|
||||||
"custom/cpu": {
|
"custom/cpu": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs cpu",
|
"exec": "fluxo-rs cpu",
|
||||||
"on-click": "zenmonitor & disown",
|
"on-click": "zenmonitor & disown",
|
||||||
"signal": 2,
|
"signal": 2
|
||||||
"interval": 1
|
|
||||||
},
|
},
|
||||||
"custom/mem": {
|
"custom/mem": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs mem",
|
"exec": "fluxo-rs mem",
|
||||||
"signal": 3,
|
"signal": 3
|
||||||
"interval": 1
|
|
||||||
},
|
},
|
||||||
"custom/gpu": {
|
"custom/gpu": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs gpu",
|
"exec": "fluxo-rs gpu",
|
||||||
"signal": 4,
|
"signal": 4
|
||||||
"interval": 1
|
|
||||||
},
|
},
|
||||||
"custom/network": {
|
"custom/network": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs net",
|
"exec": "fluxo-rs net",
|
||||||
"signal": 1,
|
"signal": 1
|
||||||
"interval": 1
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/disk-root": {
|
"custom/disk-root": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs disk /",
|
"exec": "fluxo-rs disk /",
|
||||||
"signal": 6,
|
"signal": 6
|
||||||
"interval": 1
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// --- Fluxo-rs Audio & BT ---
|
// --- Fluxo-rs Audio & BT ---
|
||||||
@@ -162,8 +167,7 @@
|
|||||||
"on-scroll-down": "fluxo-rs vol down 5",
|
"on-scroll-down": "fluxo-rs vol down 5",
|
||||||
"on-click-right": "fluxo-rs vol cycle",
|
"on-click-right": "fluxo-rs vol cycle",
|
||||||
"on-click-middle": "pavucontrol",
|
"on-click-middle": "pavucontrol",
|
||||||
"signal": 8,
|
"signal": 8
|
||||||
"interval": 1
|
|
||||||
},
|
},
|
||||||
"custom/mic": {
|
"custom/mic": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
@@ -174,8 +178,7 @@
|
|||||||
"on-scroll-down": "fluxo-rs mic down 5",
|
"on-scroll-down": "fluxo-rs mic down 5",
|
||||||
"on-click-right": "fluxo-rs mic cycle",
|
"on-click-right": "fluxo-rs mic cycle",
|
||||||
"on-click-middle": "pavucontrol",
|
"on-click-middle": "pavucontrol",
|
||||||
"signal": 8,
|
"signal": 8
|
||||||
"interval": 1
|
|
||||||
},
|
},
|
||||||
"custom/bluetooth-audio": {
|
"custom/bluetooth-audio": {
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
@@ -184,7 +187,6 @@
|
|||||||
"on-click": "fluxo-rs bt menu",
|
"on-click": "fluxo-rs bt menu",
|
||||||
"on-click-right": "fluxo-rs bt cycle_mode",
|
"on-click-right": "fluxo-rs bt cycle_mode",
|
||||||
"signal": 9,
|
"signal": 9,
|
||||||
"interval": 1,
|
|
||||||
"tooltip": true
|
"tooltip": true
|
||||||
},
|
},
|
||||||
"custom/dnd": {
|
"custom/dnd": {
|
||||||
@@ -192,8 +194,15 @@
|
|||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "fluxo-rs dnd",
|
"exec": "fluxo-rs dnd",
|
||||||
"on-click": "fluxo-rs dnd toggle",
|
"on-click": "fluxo-rs dnd toggle",
|
||||||
"signal": 14,
|
"signal": 13
|
||||||
"interval": 0
|
},
|
||||||
|
"custom/backlight": {
|
||||||
|
"format": "{}",
|
||||||
|
"return-type": "json",
|
||||||
|
"exec": "fluxo-rs backlight",
|
||||||
|
"on-scroll-up": "brightnessctl s +10%",
|
||||||
|
"on-scroll-down": "brightnessctl s 10%",
|
||||||
|
"signal": 12
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
+35
-25
@@ -32,6 +32,8 @@ window#waybar.bottom {
|
|||||||
#window,
|
#window,
|
||||||
#tray,
|
#tray,
|
||||||
#hardware,
|
#hardware,
|
||||||
|
#powertray,
|
||||||
|
#spaces,
|
||||||
#custom-bluetooth-audio,
|
#custom-bluetooth-audio,
|
||||||
#custom-volume,
|
#custom-volume,
|
||||||
#custom-buds,
|
#custom-buds,
|
||||||
@@ -90,36 +92,17 @@ window#waybar.bottom {
|
|||||||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
|
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Power Status --- */
|
|
||||||
#custom-power_status {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
#custom-power_status.charging {
|
|
||||||
color: @green;
|
|
||||||
}
|
|
||||||
#custom-power_status.warning {
|
|
||||||
color: @peach;
|
|
||||||
}
|
|
||||||
#custom-power_status.critical {
|
|
||||||
color: @red;
|
|
||||||
animation: blink 1s infinite alternate;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
|
||||||
to {
|
|
||||||
color: @base;
|
|
||||||
background-color: @red;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* --- Hardware Group (Left Bottom) --- */
|
/* --- Hardware Group (Left Bottom) --- */
|
||||||
#hardware {
|
#hardware, #powertray, #spaces {
|
||||||
border-radius: 24px;
|
border-radius: 24px;
|
||||||
padding: 4px 10px;
|
padding: 4px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Strip backgrounds and borders from the items inside the group */
|
/* Strip backgrounds and borders from the items inside the group */
|
||||||
#custom-cpu,
|
#custom-cpu,
|
||||||
|
#workspaces,
|
||||||
|
#window,
|
||||||
#custom-mem,
|
#custom-mem,
|
||||||
#custom-network
|
#custom-network
|
||||||
#custom-sys,
|
#custom-sys,
|
||||||
@@ -127,7 +110,12 @@ window#waybar.bottom {
|
|||||||
#custom-disk-root,
|
#custom-disk-root,
|
||||||
#custom-mpris,
|
#custom-mpris,
|
||||||
#clock,
|
#clock,
|
||||||
#custom-dnd {
|
#custom-dnd,
|
||||||
|
#custom-backlight,
|
||||||
|
#tray,
|
||||||
|
#custom-gamemode,
|
||||||
|
#custom-dnd,
|
||||||
|
#custom-power_status {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
@@ -141,14 +129,18 @@ window#waybar.bottom {
|
|||||||
#custom-sys,
|
#custom-sys,
|
||||||
#custom-gpu,
|
#custom-gpu,
|
||||||
#custom-disk-root,
|
#custom-disk-root,
|
||||||
#custom-mpris
|
#custom-mpris,
|
||||||
/* #clock */ {
|
#custom-network,
|
||||||
|
#tray,
|
||||||
|
#custom-gamemode,
|
||||||
|
#custom-dnd {
|
||||||
border-right: 1px solid alpha(@surface1, 0.5);
|
border-right: 1px solid alpha(@surface1, 0.5);
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-network {
|
#custom-network {
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
|
padding-right: 8px;
|
||||||
color: @mauve;
|
color: @mauve;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -223,3 +215,21 @@ tooltip label {
|
|||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --- Power Status --- */
|
||||||
|
#custom-power_status.charging {
|
||||||
|
color: @green;
|
||||||
|
}
|
||||||
|
#custom-power_status.warning {
|
||||||
|
color: @peach;
|
||||||
|
}
|
||||||
|
#custom-power_status.critical {
|
||||||
|
color: @red;
|
||||||
|
animation: blink 1s infinite alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes blink {
|
||||||
|
to {
|
||||||
|
color: @base;
|
||||||
|
background-color: @red;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user