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 bindm = $mainMod, mouse:273, resizewindow
# Laptop multimedia keys for volume and LCD brightness # Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @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 = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ bindel = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%- bindel = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-
# Requires playerctl # Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous 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", "return-type": "json",
"exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs vol", "exec": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs vol",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"on-scroll-up": "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 @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-right": "~/.config/waybar/fluxo-rs/target/release/fluxo-rs vol --cycle",
"on-click-middle": "pavucontrol", "on-click-middle": "pavucontrol",
"interval": 1 "interval": 1
+60 -18
View File
@@ -6,7 +6,9 @@
border: none; border: none;
border-radius: 0; border-radius: 0;
min-height: 0; min-height: 0;
font-family: JetBrainsMono Nerd Font, monospace; font-family:
JetBrainsMono Nerd Font,
monospace;
font-size: 13px; font-size: 13px;
transition: all 0.2s ease; transition: all 0.2s ease;
} }
@@ -86,9 +88,16 @@ window#waybar.bottom {
#custom-power_status { #custom-power_status {
font-weight: bold; font-weight: bold;
} }
#custom-power_status.charging { color: @green; border-color: @green; } #custom-power_status.charging {
#custom-power_status.bat { color: @yellow; } color: @green;
#custom-power_status.warning { color: @peach; } border-color: @green;
}
#custom-power_status.bat {
color: @yellow;
}
#custom-power_status.warning {
color: @peach;
}
#custom-power_status.critical { #custom-power_status.critical {
color: @red; color: @red;
border-color: @red; border-color: @red;
@@ -96,29 +105,62 @@ window#waybar.bottom {
} }
@keyframes blink { @keyframes blink {
to { background-color: alpha(@red, 0.4); } to {
background-color: alpha(@red, 0.4);
}
} }
/* --- Hardware Metrics (Left Bottom) --- */ /* --- Hardware Metrics (Left Bottom) --- */
#custom-sys { color: @teal; } #custom-sys {
#custom-cpu { color: @blue; } color: @teal;
#custom-mem { color: @lavender; } }
#custom-network { color: @sapphire; } #custom-cpu {
color: @blue;
}
#custom-mem {
color: @lavender;
}
#custom-network {
color: @sapphire;
}
#custom-cpu.high, #custom-mem.high { color: @yellow; } #custom-cpu.high,
#custom-cpu.max, #custom-mem.max { color: @red; } #custom-mem.high {
color: @yellow;
}
#custom-cpu.max,
#custom-mem.max {
color: @red;
}
/* --- Center Bottom Utilities --- */ /* --- Center Bottom Utilities --- */
#custom-gamemode { color: @yellow; } #custom-gamemode {
#custom-gamemode.active { color: @red; border-color: @red; } color: @yellow;
}
#custom-gamemode.active {
color: @red;
border-color: @red;
padding-left: 9px;
}
/* --- Right Bottom Controls --- */ /* --- Right Bottom Controls --- */
#custom-disk-root { color: @sky; } #custom-disk-root {
#custom-volume { color: @mauve; } color: @sky;
#custom-mic { color: @flamingo; } }
#custom-volume.muted, #custom-mic.muted { color: @overlay0; } #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 --- */
tooltip { tooltip {