summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-11-28 12:38:54 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-11-28 12:41:55 +0100
commitcdc6027e0dadb6509201a16948acdf99fef937c3 (patch)
treef5f63b483c426af84f52dc4621e849a9faefe661
parent95649a2b7c8fa7d5bd473713d391141c2ed012c2 (diff)
downloaddotfiles-cdc6027e0dadb6509201a16948acdf99fef937c3.tar.gz
dotfiles-cdc6027e0dadb6509201a16948acdf99fef937c3.tar.bz2
dotfiles-cdc6027e0dadb6509201a16948acdf99fef937c3.zip
[i3] Added playctl
-rw-r--r--.i3/config13
1 files changed, 7 insertions, 6 deletions
diff --git a/.i3/config b/.i3/config
index d5f3bba..29f1cce 100644
--- a/.i3/config
+++ b/.i3/config
@@ -211,12 +211,13 @@ bindsym $mod+Ctrl+Shift+p exec passmenu --type --both -b -fn $dmenu_font
bindsym $mod+Shift+b exec firefox
bindsym $mod+Shift+m exec thunderbird
-# mpc «3
-bindsym $mod+Ctrl+c exec $nsi mpc toggle
-bindsym $mod+Ctrl+v exec $nsi mpc stop
-bindsym $mod+Ctrl+b exec $nsi mpc next
-bindsym $mod+Ctrl+z exec $nsi mpc prev
-bindsym $mod+Ctrl+s exec $nsi mpc single
+# playerctl «3
+bindsym $mod+Ctrl+c exec $nsi playerctl play-pause
+bindsym XF86AudioPlay exec $nsi playerctl play-pause
+bindsym $mod+Ctrl+v exec $nsi playerctl stop
+bindsym $mod+Ctrl+b exec $nsi playerctl next
+bindsym $mod+Ctrl+z exec $nsi playerctl previous
+bindsym $mod+Ctrl+n exec $nsi dunstify "Now Playing" "$(playerctl metadata --format "{{ artist }}\n{{ title }}\n({{ album }})")"
# Special window rules «1
################################################