[hyprland] restore wpctl bindings

This commit is contained in:
Simon Cornet 2024-03-31 18:40:48 +02:00
parent 525107e62a
commit 015613ad47
3 changed files with 25 additions and 11 deletions

View File

@ -20,6 +20,22 @@ tooltip {
border-color: #4771c9; border-color: #4771c9;
} }
window#waybar {
background: rgba(21, 18, 27, 0);
color: #cdd6f4;
}
tooltip {
background: rgba(12, 12, 12, 0.9);
border-radius: 10px;
border-width: 2px;
border-style: solid;
border-color: #4771c9;
}
#battery,
#backlight,
#battery, #battery,
#backlight, #backlight,
#clock, #clock,
@ -60,6 +76,9 @@ tooltip {
/* middle segment */ /* middle segment */
#clock { #clock {
font-family: "Ubuntu Light 12";
font-weight: normal;
font-size: 18px;
color: #fab387; color: #fab387;
border: 2px solid #4771c9; border: 2px solid #4771c9;
} }

View File

@ -43,12 +43,7 @@
}, },
"battery": { "battery": {
"states": { "format": "{icon} ",
"good": 75,
"warning": 50,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-full": "{icon} ", "format-full": "{icon} ",
"format-icons": [ "format-icons": [
"", "",
@ -112,7 +107,7 @@
}, },
"pulseaudio": { "pulseaudio": {
"format": "{icon} ", "format": "{icon} {volume:2}%",
"format-muted": "󰖁 ", "format-muted": "󰖁 ",
"format-icons": { "format-icons": {
"headphone": "", "headphone": "",

View File

@ -87,9 +87,9 @@
bind = $mainMod SHIFT, right, resizeactive, 50 0 bind = $mainMod SHIFT, right, resizeactive, 50 0
# multimedia key bindings # multimedia key bindings
bind = ,XF86AudioMute, exec, pw-volume mute toggle bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
bind = ,XF86AudioRaiseVolume, exec, pw-volume change +5% bind = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bind = ,XF86AudioLowerVolume, exec, pw-volume change -5% bind = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind = ,XF86MonBrightnessDown, exec, brightnessctl set 10%- bind = ,XF86MonBrightnessDown, exec, brightnessctl set 10%-
bind = ,XF86MonBrightnessUp, exec, brightnessctl set 10%+ bind = ,XF86MonBrightnessUp, exec, brightnessctl set 10%+