From 69940adc46613233a82778856cc1d6278a043020 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Tue, 4 Jun 2024 16:32:06 +0200 Subject: [PATCH] [hyprland] style: prettified config --- nix/home/hyprland/hyprland-bindings.nix | 37 +++++++++++++------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/nix/home/hyprland/hyprland-bindings.nix b/nix/home/hyprland/hyprland-bindings.nix index 36e8fc2..c04f546 100644 --- a/nix/home/hyprland/hyprland-bindings.nix +++ b/nix/home/hyprland/hyprland-bindings.nix @@ -14,27 +14,27 @@ # primary key bindings bind = [ - "$mainMod, Return, exec, alacritty" - "$mainMod, B, exec, blueman-manager" - "$mainMod, C, exec, alacritty --class clipse --command clipse $PPID" - "$mainMod, D, exec, ~/.dotfiles/apps/wofi/wofi.sh" - "$mainMod, E, exec, nautilus --new-window" - "$mainMod, J, togglesplit" - "$mainMod, K, exec, alacritty --class scratchbox" - "$mainMod, L, exec, hyprlock" - "$mainMod, M, exit," - "$mainMod, N, exec, alacritty --class nmtui --command ~/.dotfiles/apps/hyprland/nmtui.sh" - "$mainMod, P, exec, ~/.dotfiles/apps/hyprland/hypridle.sh toggle" - "$mainMod, Q, killactive" - "$mainMod, S, exec, ~/.dotfiles/apps/screenshot/screenshot.sh area" + "$mainMod, Return, exec, alacritty" + "$mainMod, B, exec, blueman-manager" + "$mainMod, C, exec, alacritty --class clipse --command clipse $PPID" + "$mainMod, D, exec, ~/.dotfiles/apps/wofi/wofi.sh" + "$mainMod, E, exec, nautilus --new-window" + "$mainMod, J, togglesplit" + "$mainMod, K, exec, alacritty --class scratchbox" + "$mainMod, L, exec, hyprlock" + "$mainMod, M, exit," + "$mainMod, N, exec, alacritty --class nmtui --command ~/.dotfiles/apps/hyprland/nmtui.sh" + "$mainMod, P, exec, ~/.dotfiles/apps/hyprland/hypridle.sh toggle" + "$mainMod, Q, killactive" + "$mainMod, S, exec, ~/.dotfiles/apps/screenshot/screenshot.sh area" "ALT SHIFT, S, exec, ~/.dotfiles/apps/screenshot/screenshot.sh screen" - "$mainMod, T, exec, alacritty --class nostt --command nostt" - "$mainMod, V, togglefloating" + "$mainMod, T, exec, alacritty --class nostt --command nostt" + "$mainMod, V, togglefloating" # alternative key bindings - "ALT, F, fullscreen" - "ALT, P, pseudo" - "ALT, V, togglefloating" + "ALT, F, fullscreen" + "ALT, P, pseudo" + "ALT, V, togglefloating" # focus bindings "$mainMod, up, movefocus, u" @@ -88,6 +88,7 @@ ",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" ",XF86MonBrightnessDown, exec, brightnessctl set 10%-" ",XF86MonBrightnessUp, exec, brightnessctl set 10%+" + ]; # bindl section