Add volume stuff
This commit is contained in:
@@ -35,6 +35,7 @@
|
|||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
|
wireplumber.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
udev = {
|
udev = {
|
||||||
|
|||||||
@@ -135,6 +135,10 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|||||||
bind = $mainMod, U, movetoworkspace, -1
|
bind = $mainMod, U, movetoworkspace, -1
|
||||||
bind = $mainMod, I, movetoworkspace, +1
|
bind = $mainMod, I, movetoworkspace, +1
|
||||||
|
|
||||||
|
binde=, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
bind=, XF86AudioMute, exec, wpctl set-mute -l 1.0 @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"modules-left": ["wlr/workspaces", "hyprland/window"],
|
"modules-left": ["wlr/workspaces", "hyprland/window"],
|
||||||
"modules-center": ["clock"],
|
"modules-center": ["clock"],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
|
"pulseaudio",
|
||||||
"network",
|
"network",
|
||||||
"battery",
|
"battery",
|
||||||
"tray"
|
"tray"
|
||||||
@@ -22,5 +23,20 @@
|
|||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format-alt": "{:%a, %d. %b %H:%M}"
|
"format-alt": "{:%a, %d. %b %H:%M}"
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon} {volume}%",
|
||||||
|
"format-muted": "",
|
||||||
|
"format-icons": {
|
||||||
|
"default": [
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"max-volume": 100,
|
||||||
|
"on-click": "pavucontrol"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user