From 4d936afb7aabd963e482d0a0e2b2e99a4acbc140 Mon Sep 17 00:00:00 2001 From: Sergei Bulavintsev Date: Fri, 23 Feb 2024 10:38:55 +0300 Subject: [PATCH] fix(hypr): clean up and restore swaylock bind --- nix/modules/home/desktop/hyprland/hyprland.conf | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/nix/modules/home/desktop/hyprland/hyprland.conf b/nix/modules/home/desktop/hyprland/hyprland.conf index 80a2815..1d4bb13 100644 --- a/nix/modules/home/desktop/hyprland/hyprland.conf +++ b/nix/modules/home/desktop/hyprland/hyprland.conf @@ -4,7 +4,6 @@ autogenerated = 0 # remove this line to remove the warning monitor=,preferred,auto,auto monitor=HDMI-A-1, 1920x1080, 0x0, 1 - # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch @@ -62,9 +61,7 @@ general { } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more - rounding = 10 - blur { enabled = true size = 3 @@ -79,9 +76,7 @@ decoration { animations { enabled = yes - # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more - bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, myBezier @@ -92,8 +87,6 @@ animations { animation = workspaces, 1, 6, default } - - dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below @@ -116,8 +109,6 @@ device:epic-mouse-v1 { sensitivity = -0.5 } - - # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER @@ -132,11 +123,10 @@ bind = $mainMod, R, exec, rofi -show drun bind = $mainMod, C, exec, rofi -show clip bind = $mainMod, P, exec, rofi-rbw bind = $mainMod, Z, exec, rofi -dmenu -p \"Search\" | xargs -I{} xdg-open "https://www.google.com/search?q={}" && hyprctl dispatch focuswindow firefox -bind = $mainMod SHIFT, L, exec, hyprlock +bind = $mainMod SHIFT, L, exec, swaylock bind = $mainMod, U, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod SHIFT, P, exec, wlogout -bind = $mainMod, E, exec, kitty nvim ~/dotfiles/nix/nixos/home-manager/desktop/hypr/hyprland.conf # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l