i3: Move music controls to different place
This commit is contained in:
@@ -24,12 +24,6 @@ font pango:Mensch 9
|
|||||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
# X core fonts rendering does not support right-to-left and this being a bitmap
|
||||||
# font, it doesn't scale on retina/hidpi displays.
|
# font, it doesn't scale on retina/hidpi displays.
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
|
||||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
@@ -253,6 +247,14 @@ bindsym XF86AudioNext exec playerctl next
|
|||||||
bindsym XF86AudioPrev exec playerctl previous
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute 1 toggle
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute 1 toggle
|
||||||
|
|
||||||
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
|
|
||||||
|
bindsym Pause exec systemctl suspend
|
||||||
|
|
||||||
focus_on_window_activation focus
|
focus_on_window_activation focus
|
||||||
|
|
||||||
for_window [instance="fontpreview"] floating enable
|
for_window [instance="fontpreview"] floating enable
|
||||||
|
|||||||
Reference in New Issue
Block a user