{ lib, shell }: { "$mod" = "SUPER"; "$satty" = "satty -f -"; binde = [ # Media binds that can be held and repeated ", XF86MonBrightnessDown, exec, brightnessctl set 5%-" ", XF86MonBrightnessUp, exec, brightnessctl set +5%" ", XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+" ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" ]; bind = [ "SUPER_SHIFT, F, exec, MOZ_DISABLE_RDD_SANDBOX=1 firefox" "$mod, Return, exec, ghostty" "SUPER_SHIFT, E, exit" # Media Binds ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" ", XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle" ", XF86AudioPlay, exec, playerctl play-pause" ", XF86AudioNext, exec, playerctl next" ", XF86AudioPrev, exec, playerctl previous" # Workspace binds "$mod, 1, workspace, 01" "SUPER_SHIFT, 1, hy3:movetoworkspace, 01" "$mod, 2, workspace, 02" "SUPER_SHIFT, 2, hy3:movetoworkspace, 02" "$mod, 3, workspace, 03" "SUPER_SHIFT, 3, hy3:movetoworkspace, 03" "$mod, 4, workspace, 04" "SUPER_SHIFT, 4, hy3:movetoworkspace, 04" "$mod, 5, workspace, 05" "SUPER_SHIFT, 5, hy3:movetoworkspace, 05" "$mod, 6, workspace, 06" "SUPER_SHIFT, 6, hy3:movetoworkspace, 06" "$mod, 7, workspace, 07" "SUPER_SHIFT, 7, hy3:movetoworkspace, 07" "$mod, 8, workspace, 08" "SUPER_SHIFT, 8, hy3:movetoworkspace, 08" "$mod, 9, workspace, 09" "SUPER_SHIFT, 9, hy3:movetoworkspace, 09" "$mod, 0, workspace, 10" "SUPER_SHIFT, 0, hy3:movetoworkspace, 10" # Scratchpad "SUPER_SHIFT, -, hy3:movetoworkspace, special:default" "$mod, -, togglespecialworkspace, default" # Window Management "SUPER_SHIFT, Up, hy3:movewindow, up, once, visible" "SUPER_SHIFT, K, hy3:movewindow, up, once, visible" "$mod, Up, hy3:movefocus, up, visible, warp" "$mod, K, hy3:movefocus, up, visible, warp" "SUPER_SHIFT, Right, hy3:movewindow, right, once, visible" "SUPER_SHIFT, L, hy3:movewindow, right, once, visible" "$mod, Right, hy3:movefocus, right, visible, warp" "$mod, L, hy3:movefocus, right, visible, warp" "SUPER_SHIFT, Left, hy3:movewindow, left, once, visible" "SUPER_SHIFT, H, hy3:movewindow, left, once, visible" "$mod, Left, hy3:movefocus, left, visible, warp" "$mod, H, hy3:movefocus, left, visible, warp" "SUPER_SHIFT, Down, hy3:movewindow, down, once, visible" "SUPER_SHIFT, J, hy3:movewindow, down, once, visible" "$mod, Down, hy3:movefocus, down, visible, warp" "$mod, J, hy3:movefocus, down, visible, warp" "SUPER_SHIFT, Q, killactive" "$mod, F, fullscreen, 0" # Super-(literal equals) "$mod, code:21, hy3:togglefocuslayer" # Super-(literal plus) "SUPER_SHIFT, code:21, togglefloating, active" # Screenshots "SHIFT, F3, exec, hyprshot -m output --raw -z -s | $satty" "SHIFT, F4, exec, hyprshot -m region --raw -z -s | $satty" ] ++ lib.optionals (shell == "caelestia") [ "$mod, X, global, caelestia:session" ", XF86PowerOff , global, caelestia:session" "$mod, Space, global, caelestia:launcher" ] ++ lib.optionals (shell == "dms") [ "$mod, X, exec, dms ipc call powermenu toggle" ", XF86PowerOff ,exec, dms ipc call powermenu toggle" "SUPER_SHIFT, X, exec, dms ipc call lock lock" "$mod, Space, exec, dms ipc call spotlight toggle" ]; bindm = [ "$mod, mouse:272, movewindow" ]; # Unbind a bunch of default keybinds unbind = [ "$mod, C" "$mod, E" "$mod, J" "$mod, M" "$mod, P" "$mod, Q" "$mod, R" "$mod, V" ]; }