From 421f684610f6ab5e11263bf2867da97e20ab0c12 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 3 Apr 2024 22:35:07 +0900 Subject: [PATCH] Add shortcuts --- .../common/desktops/hyprland/components/hyprland.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/home-manager/common/desktops/hyprland/components/hyprland.nix b/home-manager/common/desktops/hyprland/components/hyprland.nix index e0e33df5..349e1f69 100644 --- a/home-manager/common/desktops/hyprland/components/hyprland.nix +++ b/home-manager/common/desktops/hyprland/components/hyprland.nix @@ -28,7 +28,7 @@ general = { gaps_in = "8"; gaps_out = "8"; - border_size = "2"; + border_size = "1"; resize_on_border = "true"; extend_border_grab_area = "15"; layout = "dwindle"; @@ -57,7 +57,7 @@ key_press_enables_dpms = true; }; decoration = { - rounding = 5; + rounding = 2; active_opacity = 0.8; inactive_opacity = 0.6; fullscreen_opacity = 1.0; @@ -86,7 +86,7 @@ # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = true; # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true;# you probably want this - no_gaps_when_only = 0; # If it's the only window int he layout, 1=don't show gaps + no_gaps_when_only = 1; # If it's the only window int he layout, 1=don't show gaps }; master.new_is_master = true; windowrule = [ @@ -96,8 +96,8 @@ "opacity 1.0 override,^(steam)$" # Sets opacity to 1 "noblur,^(codium)$" # disables blur for codium "opacity 0.9 override,^(codium)$" # Sets opacity to 1 - "stayfocused, title:^()$,class:^(steam)$" - "minsize 1 1, title:^()$,class:^(steam)$" +# "stayfocused, title:^()$,class:^(steam)$" +# "minsize 1 1, title:^()$,class:^(steam)$" ]; bind = [ @@ -107,6 +107,8 @@ ''SUPER, V, togglefloating,'' ''SUPER, P, pseudo, # dwindle'' ''SUPER, J, togglesplit, # dwindle'' + ''SUPER, F, exec, firefox'' + ''SUPER, S, exec, steam'' # Move focus with mainMod + arrow keys ''SUPER_ALT, left, movefocus, l''