summaryrefslogtreecommitdiff
path: root/.i3
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
################################################