diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 1b9470a..fe18294 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -2,6 +2,10 @@ let package = pkgs.hyprland; super = "SUPER"; + terminal = "kitty"; + fileManager = "dolphin"; + menu = "~/.config/rofi/launchers/type-3/launcher.sh"; + power = "~/.config/rofi/powermenu/type-6/powermenu.sh"; in { @@ -29,6 +33,7 @@ in "QT_QPA_PLATFORM,wayland" "SDL_VIDEODRIVER,wayland" "GDK_BACKEND,wayland" + "XCURSOR_SIZE,24" ]; monitor = [ @@ -36,15 +41,22 @@ in "HDMI-A-2, 1920x1080@60, 0x0, 1" ]; + exec-once = [ + "waybar" + "hyprpaper" + "firefox" + ]; + + # Keybindings bind = [ - "${super}, Q, exec, $terminal" + "${super}, Q, exec, ${terminal}" "${super}, C, killactive, " "${super}, M, exit, " - "${super}, E, exec, $fileManager" + "${super}, E, exec, ${fileManager}" "${super}, V, togglefloating, " - "${super}, R, exec, $menu" - "${super}, S, exec, $power" + "${super}, R, exec, ${menu}" + "${super}, S, exec, ${power}" "${super}, P, pseudo, " # dwindle "${super}, J, togglesplit, "# dwindle @@ -104,7 +116,7 @@ in ", XF86AudioLowerVolume, exec, vol --down" ", XF86MonBrightnessUp, exec, bri --up" ", XF86MonBrightnessDown, exec, bri --down" - ", XF86Search, exec, $menu" + ", XF86Search, exec, ${menu}" ];