forked from pool/openSUSEway
Accepting request 888674 from X11:Wayland
OBS-URL: https://build.opensuse.org/request/show/888674 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openSUSEway?expand=0&rev=12
This commit is contained in:
commit
d573615598
29
add-configuration-for-play-pause-next-prev-multimedi.patch
Normal file
29
add-configuration-for-play-pause-next-prev-multimedi.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From 1e4e253e7d06d7ccee7248acb0a36ec37672b605 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl@cepl.eu>
|
||||
Date: Mon, 26 Apr 2021 23:10:20 +0200
|
||||
Subject: [PATCH] Add configuration for Play/Pause, Next, Prev multimedia keys.
|
||||
|
||||
---
|
||||
.config/sway/config.d/50-openSUSE.conf | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/.config/sway/config.d/50-openSUSE.conf b/.config/sway/config.d/50-openSUSE.conf
|
||||
index d55ce7f..f1cebc4 100644
|
||||
--- a/.config/sway/config.d/50-openSUSE.conf
|
||||
+++ b/.config/sway/config.d/50-openSUSE.conf
|
||||
@@ -31,6 +31,11 @@ bindsym XF86AudioRaiseVolume exec pamixer --allow-boost -ui 2 && dc -e "[`pamixe
|
||||
bindsym XF86AudioLowerVolume exec pamixer --allow-boost -ud 2 && dc -e "[`pamixer --get-volume`]sM 100d `pamixer --get-volume`<Mp" > $SWAYSOCK.wob
|
||||
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob )
|
||||
|
||||
+# Media player controls
|
||||
+bindsym XF86AudioPlay exec playerctl play-pause
|
||||
+bindsym XF86AudioNext exec playerctl next
|
||||
+bindsym XF86AudioPrev exec playerctl previous
|
||||
+
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
--
|
||||
2.31.1
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 26 21:13:59 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Added add-configuration-for-play-pause-next-prev-multimedi.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 25 10:10:36 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -27,6 +27,9 @@ License: MIT
|
||||
Group: Metapackages
|
||||
URL: https://github.com/openSUSE/openSUSEway
|
||||
Source0: https://github.com/openSUSE/openSUSEway/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE add-configuration-for-play-pause-next-prev-multimedi.patch gh#openSUSE/openSUSEway#41 mcepl@suse.com
|
||||
# Add multimedia keys configuration
|
||||
Patch0: add-configuration-for-play-pause-next-prev-multimedi.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: aaa_base
|
||||
BuildRequires: systemd
|
||||
@ -90,6 +93,7 @@ Requires: jq
|
||||
Requires: pamixer
|
||||
Requires: patterns-sway-sway
|
||||
Requires: pavucontrol
|
||||
Requires: playerctl
|
||||
Requires: polkit-gnome
|
||||
Requires: sway
|
||||
Requires: wallpaper-branding-openSUSE
|
||||
|
Loading…
Reference in New Issue
Block a user