Move media controls out
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
0668d34296
commit
0b95d01bde
|
@ -73,6 +73,7 @@ input * {
|
||||||
xkb_layout us
|
xkb_layout us
|
||||||
xkb_variant dvp
|
xkb_variant dvp
|
||||||
xkb_options "caps:escape"
|
xkb_options "caps:escape"
|
||||||
|
scroll_factor 5
|
||||||
}
|
}
|
||||||
|
|
||||||
input type:touchpad {
|
input type:touchpad {
|
||||||
|
@ -256,6 +257,19 @@ client.urgent #202020 #dc322f #fdf6e3 #cb4b1699 #cb4b1600
|
||||||
#
|
#
|
||||||
font pango:IBM Plex Sans bold 11
|
font pango:IBM Plex Sans bold 11
|
||||||
#
|
#
|
||||||
|
# Media controls:
|
||||||
|
#
|
||||||
|
bindsym --locked XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +2%"
|
||||||
|
bindsym --locked XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -2%"
|
||||||
|
bindsym --locked XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||||||
|
bindsym --locked XF86AudioMicMute exec "pactl set-source-mute @DEFAULT_SOURCE@ toggle"
|
||||||
|
bindsym --locked XF86MonBrightnessDown exec "brightnessctl set 5%-"
|
||||||
|
bindsym --locked XF86MonBrightnessUp exec "brightnessctl set +5%"
|
||||||
|
bindsym --locked XF86AudioPlay exec "playerctl play-pause"
|
||||||
|
bindsym --locked XF86AudioNext exec "playerctl next"
|
||||||
|
bindsym --locked XF86AudioPrev exec "playerctl previous"
|
||||||
|
bindsym --locked XF86AudioStop exec "playerctl stop"
|
||||||
|
#
|
||||||
# Gaps:
|
# Gaps:
|
||||||
#
|
#
|
||||||
default_border pixel 2
|
default_border pixel 2
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
#
|
||||||
|
# Workspaces
|
||||||
|
#
|
||||||
|
workspace 1 output "Unknown PL270 0000000000001"
|
||||||
|
workspace 2 output "Unknown PL270 0000000000001"
|
||||||
|
workspace 3 output "Unknown PL270 0000000000001"
|
||||||
|
workspace 4 output "Unknown PL270 0000000000001"
|
||||||
|
workspace 8 output "Apple Computer Inc Color LCD 0x00000000"
|
||||||
|
workspace 9 output "Apple Computer Inc Color LCD 0x00000000"
|
||||||
|
# Select back old workspace
|
||||||
|
workspace 1
|
||||||
|
|
||||||
|
#
|
||||||
|
# Wallpaper configuration
|
||||||
|
#
|
||||||
|
output "Unknown PL270 0000000000001" bg ~/.wallpaper/default.jpg fill
|
||||||
|
|
||||||
|
#
|
||||||
|
# Output configuration
|
||||||
|
#
|
||||||
|
default_orientation horizontal
|
||||||
|
output "Unknown PL270 0000000000001" position 0 0 transform 90
|
||||||
|
output "Apple Computer Inc Color LCD 0x00000000" position 2160 1800 transform 0 scale 1.5
|
||||||
|
|
||||||
|
#
|
||||||
|
# Switch configuration
|
||||||
|
#
|
||||||
|
set $laptop "Apple Computer Inc Color LCD 0x00000000"
|
||||||
|
bindswitch --reload --locked lid:on output $laptop disable
|
||||||
|
bindswitch --reload --locked lid:off output $laptop enable
|
||||||
|
|
||||||
|
# vim: ai ts=4 sw=4 et
|
|
@ -46,9 +46,6 @@ bindsym Scroll_Lock mode "monitor"
|
||||||
#
|
#
|
||||||
# Media controls
|
# Media controls
|
||||||
#
|
#
|
||||||
bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume 0 +2%"
|
|
||||||
bindsym XF86AudioLowerVolume exec "pactl set-sink-volume 0 -2%"
|
|
||||||
bindsym XF86AudioMute exec "pactl set-sink-mute 0 toggle"
|
|
||||||
bindsym $mod+p exec "dbus-send --bus=unix:path=/run/user/1000/bus --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"
|
bindsym $mod+p exec "dbus-send --bus=unix:path=/run/user/1000/bus --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause"
|
||||||
|
|
||||||
# vim: ai ts=4 sw=4 et
|
# vim: ai ts=4 sw=4 et
|
||||||
|
|
Loading…
Reference in New Issue