Migrate from pactl to wpctl

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2023-08-23 10:11:12 +03:00
parent c092345960
commit 5954827fe3
No known key found for this signature in database
GPG key ID: 9F6DDABE11A2674D
3 changed files with 10 additions and 10 deletions

View file

@ -12,16 +12,16 @@ scrolling:
font:
normal:
family: JetBrains Mono
family: JetBrains Mono NL
style: SemiBold
bold:
family: JetBrains Mono
style: Bold
family: JetBrains Mono NL
style: ExtraBold
italic:
family: JetBrains Mono
style: SemiBold Italic
family: JetBrains Mono NL
style: Italic
size: 9.0
cursor:

View file

@ -34,7 +34,7 @@ default_border pixel 1
gaps inner 8
font "JetBrains Mono" 9
output * scale 2
#output * scale 2
include ~/.config/sway/themes/catppuccin-macchiato
@ -129,9 +129,9 @@ mode "resize" {
bindsym $mod+r mode "resize"
# Multimedia buttons
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +1%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -1%
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-
bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86MonBrightnessDown exec brightnessctl set 2%-
bindsym XF86MonBrightnessUp exec brightnessctl set 2%+

View file

@ -3,7 +3,7 @@
"position": "top",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": [],
"modules-right": ["tray", "idle_inhibitor", "cpu", "memory", "wireplumber", "battery", "sway/language", "clock"],
"modules-right": ["tray", "idle_inhibitor", "cpu", "memory", "wireplumber", "network", "battery", "sway/language", "clock"],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},