diff --git a/dotfiles/hypr/hyprland.conf b/dotfiles/hypr/hyprland.conf index 448e1ad..e5cba71 100644 --- a/dotfiles/hypr/hyprland.conf +++ b/dotfiles/hypr/hyprland.conf @@ -138,7 +138,7 @@ animations { # uncomment all if you wish to use that. # workspace = w[tv1], gapsout:0, gapsin:0 # workspace = f[1], gapsout:0, gapsin:0 -windowrulev2 = workspace 1, class:^(alacritty)$ +windowrulev2 = workspace 1, class:^(ghostty)$ windowrulev2 = workspace 2, class:^(firefox)$ windowrulev2 = workspace 3, class:^(discord)$ windowrulev2 = workspace 4, class:^(steam)$ diff --git a/home/shahab/common/core/alacritty.nix b/home/shahab/common/core/alacritty.nix deleted file mode 100644 index a75db9f..0000000 --- a/home/shahab/common/core/alacritty.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ config, ... }: - -{ - programs.alacritty = { - enable = true; - - settings = { - window = { - padding = { - x = 4; - y = 8; - }; - decorations = "full"; - opacity = 1; - startup_mode = "Windowed"; - title = "Alacritty"; - dynamic_title = true; - decorations_theme_variant = "None"; - }; - - env = { TERM = "xterm-256color"; }; - - terminal.shell.program = "zsh"; - - font = { - size = 14; - normal.family = config.hostSpec.font; - bold.family = config.hostSpec.font; - italic.family = config.hostSpec.font; - }; - - cursor = { style = "Block"; }; - - general.live_config_reload = true; - }; - }; -} diff --git a/home/shahab/common/core/default.nix b/home/shahab/common/core/default.nix index dcf8bbc..440df32 100644 --- a/home/shahab/common/core/default.nix +++ b/home/shahab/common/core/default.nix @@ -2,7 +2,7 @@ imports = lib.flatten [ (map lib.custom.relativeToRoot [ "modules/common" "modules/home-manager" ]) - ./alacritty.nix + ./ghostty.nix ./direnv.nix ./git.nix ./fonts.nix @@ -18,8 +18,6 @@ sessionVariables = { FLAKE = "$HOME/src/nix/nix-config"; SHELL = "zsh"; - TERM = "alacritty"; - TERMINAL = "alacritty"; VISUAL = "nvim"; EDITOR = "nvim"; }; diff --git a/home/shahab/common/optional/ghostty.nix b/home/shahab/common/core/ghostty.nix similarity index 100% rename from home/shahab/common/optional/ghostty.nix rename to home/shahab/common/core/ghostty.nix diff --git a/home/shahab/rihla.nix b/home/shahab/rihla.nix index 8ea1dd4..f95451b 100644 --- a/home/shahab/rihla.nix +++ b/home/shahab/rihla.nix @@ -11,7 +11,6 @@ (map (config: "${builtins.toString ./.}/common/optional/${config}.nix") [ "btop" "firefox" - "ghostty" "hyprland" "misc-packages" "nvim"