Compare commits

2 Commits

Author SHA1 Message Date
nvrl f2c432ff2c fixed brightness ctrl and max volume 2026-03-24 14:40:58 +01:00
nvrl 233ef1e291 fixed gamemode style 2026-03-23 17:26:36 +01:00
3 changed files with 68 additions and 28 deletions
+4 -6
View File
@@ -77,17 +77,15 @@ bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
bindel = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-
# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
+2 -2
View File
@@ -125,8 +125,8 @@
"return-type": "json",
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs vol",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+",
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-",
"on-scroll-up": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+",
"on-scroll-down": "wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-",
"on-click-right": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs vol --cycle",
"on-click-middle": "pavucontrol",
"interval": 1
+60 -18
View File
@@ -6,7 +6,9 @@
border: none;
border-radius: 0;
min-height: 0;
font-family: JetBrainsMono Nerd Font, monospace;
font-family:
JetBrainsMono Nerd Font,
monospace;
font-size: 13px;
transition: all 0.2s ease;
}
@@ -86,9 +88,16 @@ window#waybar.bottom {
#custom-power_status {
font-weight: bold;
}
#custom-power_status.charging { color: @green; border-color: @green; }
#custom-power_status.bat { color: @yellow; }
#custom-power_status.warning { color: @peach; }
#custom-power_status.charging {
color: @green;
border-color: @green;
}
#custom-power_status.bat {
color: @yellow;
}
#custom-power_status.warning {
color: @peach;
}
#custom-power_status.critical {
color: @red;
border-color: @red;
@@ -96,29 +105,62 @@ window#waybar.bottom {
}
@keyframes blink {
to { background-color: alpha(@red, 0.4); }
to {
background-color: alpha(@red, 0.4);
}
}
/* --- Hardware Metrics (Left Bottom) --- */
#custom-sys { color: @teal; }
#custom-cpu { color: @blue; }
#custom-mem { color: @lavender; }
#custom-network { color: @sapphire; }
#custom-sys {
color: @teal;
}
#custom-cpu {
color: @blue;
}
#custom-mem {
color: @lavender;
}
#custom-network {
color: @sapphire;
}
#custom-cpu.high, #custom-mem.high { color: @yellow; }
#custom-cpu.max, #custom-mem.max { color: @red; }
#custom-cpu.high,
#custom-mem.high {
color: @yellow;
}
#custom-cpu.max,
#custom-mem.max {
color: @red;
}
/* --- Center Bottom Utilities --- */
#custom-gamemode { color: @yellow; }
#custom-gamemode.active { color: @red; border-color: @red; }
#custom-gamemode {
color: @yellow;
}
#custom-gamemode.active {
color: @red;
border-color: @red;
padding-left: 9px;
}
/* --- Right Bottom Controls --- */
#custom-disk-root { color: @sky; }
#custom-volume { color: @mauve; }
#custom-mic { color: @flamingo; }
#custom-volume.muted, #custom-mic.muted { color: @overlay0; }
#custom-disk-root {
color: @sky;
}
#custom-volume {
color: @mauve;
}
#custom-mic {
color: @flamingo;
}
#custom-volume.muted,
#custom-mic.muted {
color: @overlay0;
}
#custom-bluetooth-audio { color: @blue; }
#custom-bluetooth-audio {
color: @blue;
}
/* --- Tooltip --- */
tooltip {