aboutsummaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-30 17:52:47 +0300
committerawy <awy@awy.one>2024-11-30 17:52:47 +0300
commit086f8be965e2617b44c696a60805f26e6e91f3f2 (patch)
tree8b3d575f6434f4c753eacd5d5991d3c41ff51846 /.config/sway
parentb893bee74dcbdc1e11daa98da39c49e6afecc9e6 (diff)
multimedia keybindings
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/config5
1 files changed, 4 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