Skip to content

Commit

Permalink
fix(hypr): clean up and restore swaylock bind
Browse files Browse the repository at this point in the history
  • Loading branch information
sbulav committed Feb 23, 2024
1 parent 22f46a3 commit 4d936af
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions nix/modules/home/desktop/hyprland/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -62,9 +61,7 @@ general {
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more

rounding = 10

blur {
enabled = true
size = 3
Expand All @@ -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
Expand All @@ -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
Expand All @@ -116,8 +109,6 @@ device:epic-mouse-v1 {
sensitivity = -0.5
}



# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

Expand All @@ -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
Expand Down

0 comments on commit 4d936af

Please sign in to comment.