aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/sway/config5
-rw-r--r--dependencies.txt1
2 files changed, 5 insertions, 1 deletions
diff --git a/.config/sway/config b/.config/sway/config
index adabe34..5940415 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -70,8 +70,11 @@ bindsym $mod+grave exec bookmarks
bindsym $mod+m exec $term -e spotify_player
bindsym $mod+e exec 'sh -c "$term -e neomutt; pkill -RTMIN+12 i3blocks"'
bindsym $mod+Shift+n exec 'sh -c "$term -e newsboat; pkill -RTMIN+6 i3blocks"'
-bindsym $mod+Shift+s exec sh -c slurp | grim -t jpeg -g - - | wl-copy
+bindsym $mod+Shift+s exec sh -c slurp | grim -t jpeg -g - - | wl-copy -t image/jpeg
bindsym $mod+Shift+r exec $term -e btop
+bindsym XF86AudioPlay exec playerctl play-pause
+bindsym XF86AudioNext exec playerctl next
+bindsym XF86AudioPrev exec playerctl previous
# Switch to workspace
bindsym $mod+1 workspace number 1
diff --git a/dependencies.txt b/dependencies.txt
index c9baf88..09f8a4e 100644
--- a/dependencies.txt
+++ b/dependencies.txt
@@ -8,6 +8,7 @@ calcurse
bmon
xorg-xwayland
xdg-desktop-portal-wlr
+playerctl
# sound
pipewire