diff --git a/home-manager/hyprland/hyprland-settings.nix b/home-manager/hyprland/hyprland-settings.nix index a09bb74..2711a34 100644 --- a/home-manager/hyprland/hyprland-settings.nix +++ b/home-manager/hyprland/hyprland-settings.nix @@ -24,7 +24,7 @@ in { ] else if osConfig.networking.hostName == "nix-laptop" then [ # laptop "eDP-1,3840x2160@60,0x0,2" - "DP-3,1920x1080@60,1920x0,1" + #"DP-3,1920x1080@60,1920x0,1" ",preferred,auto,auto" ] else [ # Default @@ -50,7 +50,8 @@ in { kb_options = ""; kb_rules = ""; - follow_mouse = 1; + follow_mouse = 2; + float_switch_override_focus = 2; touchpad = { natural_scroll = true; }; @@ -215,21 +216,25 @@ in { ]; windowrulev2 = [ - # -- Fix odd behaviors in IntelliJ IDEs -- - #! Fix focus issues when dialogs are opened or closed - "windowdance,class:^(jetbrains-.*)$,floating:1" - #! Fix splash screen showing in weird places and prevent annoying focus takeovers - "center,class:^(jetbrains-.*)$,title:^(splash)$,floating:1" - "nofocus,class:^(jetbrains-.*)$,title:^(splash)$,floating:1" - "noborder,class:^(jetbrains-.*)$,title:^(splash)$,floating:1" - #! Center popups/find windows - "center,class:^(jetbrains-.*)$,title:^( )$,floating:1" - "stayfocused,class:^(jetbrains-.*)$,title:^( )$,floating:1" - "noborder,class:^(jetbrains-.*)$,title:^( )$,floating:1" - #! Disable window flicker when autocomplete or tooltips appear - "nofocus,class:^(jetbrains-.*)$,title:^(win.*)$,floating:1" - #"immediate, class:^(Risk.*)$" + #"center, class:jetbrains-idea" + #"noinitialfocus,class:^jetbrains-(?!toolbox),floating:1" + + ## -- Fix odd behaviors in IntelliJ IDEs -- + ##! Fix focus issues when dialogs are opened or closed + #"windowdance,class:^(jetbrains-.*)$,floating:1" + ##! Fix splash screen showing in weird places and prevent annoying focus takeovers + #"center,class:^(jetbrains-.*)$,title:^(splash)$,floating:1" + #"nofocus,class:^(jetbrains-.*)$,title:^(splash)$,floating:1" + #"noborder,class:^(jetbrains-.*)$,title:^(splash)$,floating:1" + + ##! Center popups/find windows + #"center,class:^(jetbrains-.*)$,title:^( )$,floating:1" + #"stayfocused,class:^(jetbrains-.*)$,title:^( )$,floating:1" + #"noborder,class:^(jetbrains-.*)$,title:^( )$,floating:1" + ##! Disable window flicker when autocomplete or tooltips appear + #"nofocus,class:^(jetbrains-.*)$,title:^(win.*)$,floating:1" + ##"immediate, class:^(Risk.*)$" ]; exec-once = [ diff --git a/systems/laptop/configuration.nix b/systems/laptop/configuration.nix index 0c86b0c..1327411 100644 --- a/systems/laptop/configuration.nix +++ b/systems/laptop/configuration.nix @@ -10,6 +10,11 @@ # ]; + services.blueman.enable = true; + + hardware.bluetooth.enable = true; # enables support for Bluetooth + hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot + age.identityPaths = [ /home/kopatz/.ssh/id_ed25519 "/etc/ssh/ssh_host_ed25519_key" ]; mainUser.layout = "at"; mainUser.variant = "";