enable animations, replace kitty with console

This commit is contained in:
Kopatz
2023-12-05 23:02:38 +01:00
parent 2bd00d47fb
commit 3cafabb952

View File

@@ -26,6 +26,7 @@ in
# Hint electron apps to use wayland # Hint electron apps to use wayland
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
WLR_NO_HARDWARE_CURSORS="1"; WLR_NO_HARDWARE_CURSORS="1";
#WLR_DRM_NO_ATOMIC="1";
WLR_DRM_DEVICES = "/dev/dri/card0"; WLR_DRM_DEVICES = "/dev/dri/card0";
}; };
@@ -93,15 +94,16 @@ in
}; };
general = { general = {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables
gaps_in = 5; gaps_in = 5;
gaps_out = 20; gaps_out = 5;
border_size = 2; border_size = 2;
"col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg"; "col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
"col.inactive_border" = "rgba(595959aa)"; "col.inactive_border" = "rgba(595959aa)";
layout = "dwindle"; layout = "dwindle";
#allow_tearing = true;
}; };
decoration = { decoration = {
@@ -120,7 +122,7 @@ in
}; };
animations = { animations = {
enabled = false; enabled = true;
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
@@ -131,7 +133,9 @@ in
#animation = border, 1, 10, default #animation = border, 1, 10, default
#animation = borderangle, 1, 8, default #animation = borderangle, 1, 8, default
#animation = fade, 1, 7, default #animation = fade, 1, 7, default
#animation = workspaces, 1, 6, default animation = [
"workspaces, 0"
];
}; };
dwindle = { dwindle = {
@@ -169,14 +173,14 @@ in
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = let bind = let
rofi = "${pkgs.rofi-wayland}/bin/rofi"; rofi = "${pkgs.rofi-wayland}/bin/rofi";
kitty = "${pkgs.kitty}/bin/kitty"; konsole = "${pkgs.konsole}/bin/konsole";
thunar = "${pkgs.xfce.thunar}/bin/thunar"; thunar = "${pkgs.xfce.thunar}/bin/thunar";
wl-copy = "${pkgs.wl-clipboard}/bin/wl-copy"; wl-copy = "${pkgs.wl-clipboard}/bin/wl-copy";
grim = "${pkgs.grim}/bin/grim"; grim = "${pkgs.grim}/bin/grim";
slurp = "${pkgs.slurp}/bin/slurp"; slurp = "${pkgs.slurp}/bin/slurp";
swww = "${pkgs.swww}/bin/swww"; swww = "${pkgs.swww}/bin/swww";
in [ in [
"$mainMod, Q, exec, ${kitty}" "$mainMod, Q, exec, ${konsole}"
"$mainMod, C, killactive" "$mainMod, C, killactive"
"$mainMod, M, exit," "$mainMod, M, exit,"
"$mainMod, E, exec, ${thunar}" "$mainMod, E, exec, ${thunar}"
@@ -247,6 +251,7 @@ in
"noborder,class:^(jetbrains-.*)$,title:^( )$,floating:1" "noborder,class:^(jetbrains-.*)$,title:^( )$,floating:1"
#! Disable window flicker when autocomplete or tooltips appear #! Disable window flicker when autocomplete or tooltips appear
"nofocus,class:^(jetbrains-.*)$,title:^(win.*)$,floating:1" "nofocus,class:^(jetbrains-.*)$,title:^(win.*)$,floating:1"
#"immediate, class:^(Risk.*)$"
]; ];
@@ -673,7 +678,6 @@ in
patchedWaybar patchedWaybar
dunst dunst
swww swww
kitty
rofi-wayland rofi-wayland
libnotify libnotify
networkmanagerapplet networkmanagerapplet