From 13b6faf5733ded64a82d478e6738d58ae1ac4583 Mon Sep 17 00:00:00 2001 From: hesam-init Date: Mon, 19 Feb 2024 19:26:11 +0330 Subject: [PATCH] feat: fullscreen and music player binds --- hyprland/.config/hypr/conf/keybinding.conf | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/hyprland/.config/hypr/conf/keybinding.conf b/hyprland/.config/hypr/conf/keybinding.conf index 3249a1d..0ef31f1 100644 --- a/hyprland/.config/hypr/conf/keybinding.conf +++ b/hyprland/.config/hypr/conf/keybinding.conf @@ -3,8 +3,9 @@ bind = $mainMod, H, togglefloating, bind = $mainMod, C, killactive, bind = $mainMod, P, pseudo, # bind = $mainMod, M, exit, -bind = $mainMod, J, togglesplit, +bind = $mainMod, D, togglesplit, bind = $mainMod, F, fullscreen, 1 +bind = ,F11, fullscreen, bind = $mainMod SHIFT, right, resizeactive, 100 0 bind = $mainMod SHIFT, left, resizeactive, -100 0 bind = $mainMod SHIFT, up, resizeactive, 0 -100 @@ -16,10 +17,10 @@ bind = $mainMod ALT, down, movewindow, d # Apps bind = $mainMod, R, exec, $rofi_menu -bind = $mainMod, O, exec, $rofi_screenshot +bind = $mainMod, X, exec, $rofi_screenshot bind = $mainMod, L, exec, $rofi_powermenu bind = $mainMod, V, exec, $rofi_clipboard -bind = $mainMod, I, exec, $rofi_wallpaper +bind = $mainMod, U, exec, $rofi_wallpaper bind = $mainMod, K, exec, $waybar_toggle bind = $mainMod, Q, exec, $terminal bind = $mainMod, W, exec, $terminal -e zellij @@ -37,6 +38,11 @@ bind = $mainMod, Y, exec, $swww_random binde=,XF86AudioRaiseVolume,exec, $volume_control u binde=,XF86AudioLowerVolume,exec, $volume_control d bind=,XF86AudioMute,exec, $volume_control m +bind=,XF86AudioPlay,exec,playerctl play-pause +bind=,XF86AudioPrev,exec,playerctl previous +bind=,XF86AudioNext,exec,playerctl next +bindl=,XF86AudioMedia,exec,playerctl play-pause +bindl=,XF86AudioStop,exec,playerctl stop # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l @@ -62,6 +68,7 @@ bind = $mainMod CTRL, left, workspace, -1 bind = ALT SHIFT, right, movetoworkspace, +1 bind = ALT SHIFT, left, movetoworkspace, -1 + # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2