update some

This commit is contained in:
Sense T 2023-06-27 20:58:27 +08:00
parent 4034b4e7c8
commit 595fecd6cd
3 changed files with 9 additions and 2 deletions

View File

@ -24,7 +24,7 @@
scroll-step = 5; scroll-step = 5;
format = "{icon} {volume}%"; format = "{icon} {volume}%";
format-muted = "{icon} {volume}%"; format-muted = "{icon} {volume}%";
on-click ="pactl set-sink-mute @DEFAULT_SINK@ toggle"; # wpctl? on-click ="wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; # wpctl?
format-icons = { format-icons = {
default = ["" "" ""]; default = ["" "" ""];
}; };

View File

@ -156,6 +156,13 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1 bind = $mainMod, mouse_up, workspace, e-1
# XF86Keys
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SOURCE@ 5%+
bind = , XF86MonBrightnessUP, exec, light -A 5
bind = , XF86MonBrightnessDown, exec, light -U 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