Compare commits
2 Commits
db7d5d17a6
..
nxps
| Author | SHA1 | Date | |
|---|---|---|---|
| f2c432ff2c | |||
| 233ef1e291 |
@@ -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
@@ -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
|
||||
|
||||
+62
-20
@@ -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,39 +88,79 @@ 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.critical {
|
||||
color: @red;
|
||||
#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;
|
||||
animation: blink 1s infinite alternate;
|
||||
}
|
||||
|
||||
@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 {
|
||||
|
||||
Reference in New Issue
Block a user