hyprland: updated config

This commit is contained in:
Aly Raffauf 2024-04-01 00:02:02 -04:00
parent b83f337bec
commit 698033be56

View file

@ -63,13 +63,14 @@
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.extraConfig = let
modifier = "SUPER";
# Default apps
browser = pkgs.firefox + "/bin/firefox";
fileManager = pkgs.xfce.thunar + "/bin/thunar";
editor = pkgs.vscodium + "/bin/codium";
terminal = pkgs.alacritty + "/bin/alacritty";
# Hyprland shell utilities
# Hyprland desktop utilities
bar = pkgs.waybar + "/bin/waybar";
launcher = pkgs.fuzzel + "/bin/fuzzel";
notifyd = pkgs.mako + "/bin/mako";
@ -87,7 +88,7 @@
volume = "${pkgs.wireplumber}/bin/wpctl";
volume_up = "${volume} set-volume -l 1.0 @DEFAULT_SINK@ 5%+";
volume_down = "${volume} set-volume -l 1.0 @DEFAULT_SINK@ 5%-";
mute = "${volume} set-mute @DEFAULT_SINK@ toggle";
volume_mute = "${volume} set-mute @DEFAULT_SINK@ toggle";
media = "${pkgs.playerctl}/bin/playerctl";
media_play = "${media} play-pause";
media_next = "${media} next";
@ -193,41 +194,40 @@
enabled = yes
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
animation = specialWorkspace, 1, 6, default, slidevert
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = workspaces, 1, 6, default
}
dwindle {
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
}
master {
new_is_master = false
always_center_master = true
new_is_master = false
}
misc {
disable_splash_rendering = true
disable_hyprland_logo = true
vfr = true
disable_splash_rendering = true
focus_on_activate = true
vfr = true
}
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
# PavuControl, nmtui, and blueberry float.
windowrulev2 = float,class:(pavucontrol)
windowrulev2 = center(1),class:(pavucontrol)
windowrulev2 = float,class:(nmtui)
windowrulev2 = center(1),class:(nmtui)
windowrulev2 = float,class:(blueberry.py)
# Window Rules
windowrulev2 = center(1),class:(blueberry.py)
windowrulev2 = center(1),class:(nmtui)
windowrulev2 = center(1),class:(pavucontrol)
windowrulev2 = float,class:(blueberry.py)
windowrulev2 = float,class:(nmtui)
windowrulev2 = float,class:(pavucontrol)
windowrulev2 = suppressevent maximize, class:.*
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = ${modifier}
@ -306,7 +306,7 @@
# Adjust volume and play/pause.
bindle = , xf86audioraisevolume, exec, ${volume_up};
bindle = , xf86audiolowervolume, exec, ${volume_down};
bindl = , xf86audiomute, exec, ${mute}
bindl = , xf86audiomute, exec, ${volume_mute}
bindl = , xf86audioplay, exec, ${media_play}
bindl = , xf86audioprev, exec, ${media_previous}
bindl = , xf86audionext, exec, ${media_next}