From ced19585505214726a96b37d493bc094ffe5a2b6 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:07:34 +0700 Subject: [PATCH] super+shift+alt+back/forward click for media control --- .config/hypr/hyprland/general.conf | 1 - .config/hypr/hyprland/keybinds.conf | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/hypr/hyprland/general.conf b/.config/hypr/hyprland/general.conf index e0456003b..f9eef4498 100644 --- a/.config/hypr/hyprland/general.conf +++ b/.config/hypr/hyprland/general.conf @@ -19,7 +19,6 @@ input { clickfinger_behavior = true scroll_factor = 0.5 } - special_fallthrough = true follow_mouse = 1 } diff --git a/.config/hypr/hyprland/keybinds.conf b/.config/hypr/hyprland/keybinds.conf index d78fdd08e..5c0043dd5 100644 --- a/.config/hypr/hyprland/keybinds.conf +++ b/.config/hypr/hyprland/keybinds.conf @@ -58,6 +58,8 @@ bind = Super+Shift,J,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract # Media bindl= Super+Shift, N, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"` bindl= ,XF86AudioNext, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"` +bind = Super+Shift+Alt, mouse:275, exec, playerctl previous +bind = Super+Shift+Alt, mouse:276, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"` bindl= Super+Shift, B, exec, playerctl previous bindl= Super+Shift, P, exec, playerctl play-pause bindl= ,XF86AudioPlay, exec, playerctl play-pause