From 74456ddfdb8be3d556c16e589c9aeb42eea54d37 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 3 Apr 2020 00:15:24 +0300 Subject: sway keybind to seek music in mpd --- dotfiles/.config/sway/config | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'dotfiles/.config/sway') diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config index 48aa97e..924bc27 100644 --- a/dotfiles/.config/sway/config +++ b/dotfiles/.config/sway/config @@ -116,11 +116,13 @@ input 2:10:TPPS/2_IBM_TrackPoint pointer_accel 1 # Outputs output "*" background ~/.config/wall1.png fill # Laptop display -output "eDP-1" scale 1.6 pos 0 0 scale_filter smart +output "eDP-1" scale 1.6 pos 0 0 scale_filter linear # Keymaps -input * xkb_layout "us,es,ru" -input * xkb_options "lv3:ralt_switch,grp:alt_shift_toggle,misc:typo,caps:escape,grp_led:scroll" +input type:keyboard { + xkb_layout "us,es,ru" + xkb_options "lv3:ralt_switch,grp:alt_shift_toggle,misc:typo,caps:escape,grp_led:scroll" +} # Set inner/outer gaps gaps inner 15 @@ -171,9 +173,11 @@ bindsym --to-code { XF86AudioLowerVolume exec --no-startup-id lmc down 5 XF86AudioMute exec --no-startup-id lmc mute + $mod+Shift+F5 exec mpc seek -10 $mod+F5 exec lmc prev $mod+F6 exec lmc toggle $mod+F7 exec lmc next + $mod+Shift+F7 exec mpc seek +10 # Start Applications $mod+Shift+w exec --no-startup-id $browser -- cgit v1.2.3