[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;
}
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,
#backlight,
#clock,
@ -60,6 +76,9 @@ tooltip {
/* middle segment */
#clock {
font-family: "Ubuntu Light 12";
font-weight: normal;
font-size: 18px;
color: #fab387;
border: 2px solid #4771c9;
}

View File

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

View File

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