From 0ddb2989b423f9b46957843df85395ae27151504 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Wed, 26 Mar 2025 10:23:18 -0700 Subject: [PATCH] [Alacritty] Removes config. [rofi] Some more config --- home-manager/features/hyprland.nix | 5 +- .../neovim/config/lua/config/autocmds.lua | 9 +++ home-manager/features/rofi/config/config.rasi | 3 + home-manager/features/terminal.nix | 57 ------------------- 4 files changed, 14 insertions(+), 60 deletions(-) create mode 100644 home-manager/features/rofi/config/config.rasi diff --git a/home-manager/features/hyprland.nix b/home-manager/features/hyprland.nix index 9ca3f0b..d1e6ab2 100644 --- a/home-manager/features/hyprland.nix +++ b/home-manager/features/hyprland.nix @@ -18,7 +18,7 @@ "$terminal" = "wezterm"; "$fileManager" = "dolphin"; - "$menu" = "rofi -show drun -theme ~/.config/rofi/launcher/style.rasi"; + "$menu" = "rofi -show combi -combi-modes drun,ssh,run -theme ~/.config/rofi/launcher/style.rasi"; "$browser" = "firefox"; exec-once = [ @@ -298,8 +298,7 @@ "$mainMod + SHIFT, F, fullscreen, 1" # Monitors - "$mainMod, R, focusmonitor, l" - "$mainMod, S, focusmonitor, r" + "$mainMod, R, focusmonitor, next" "$mainMod + CTRL, R, movecurrentworkspacetomonitor, l" "$mainMod + CTRL, S, movecurrentworkspacetomonitor, r" diff --git a/home-manager/features/neovim/config/lua/config/autocmds.lua b/home-manager/features/neovim/config/lua/config/autocmds.lua index 4221e75..6919084 100644 --- a/home-manager/features/neovim/config/lua/config/autocmds.lua +++ b/home-manager/features/neovim/config/lua/config/autocmds.lua @@ -6,3 +6,12 @@ -- -- Or remove existing autocmds by their group name (which is prefixed with `lazyvim_` for the defaults) -- e.g. vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell") + +vim.api.nvim_create_autocmd("FileType", { + pattern = { "markdown" }, + callback = function() + vim.bo.shiftwidth = 4 + vim.bo.tabstop = 4 + vim.bo.softtabstop = 4 + end, +}) diff --git a/home-manager/features/rofi/config/config.rasi b/home-manager/features/rofi/config/config.rasi new file mode 100644 index 0000000..00e7fb8 --- /dev/null +++ b/home-manager/features/rofi/config/config.rasi @@ -0,0 +1,3 @@ +configuration { + ssh-command: "wezterm ssh {host}"; +} diff --git a/home-manager/features/terminal.nix b/home-manager/features/terminal.nix index 2e18416..b251948 100644 --- a/home-manager/features/terminal.nix +++ b/home-manager/features/terminal.nix @@ -39,61 +39,4 @@ home.shellAliases = { "imgcat" = "wezterm imgcat"; }; - - programs.alacritty = { - enable = true; - settings = { - window = { - blur = true; - opacity = 0.85; - }; - - font = { - normal = { - family = "FiraCode Nerd Font"; - style = "Regular"; - }; - size = 13; - }; - - selection.save_to_clipboard = true; - - colors = { - ## Decay theme - # Eye Friendly Colors - # Created by https://github.com/decaycs - bright = { - black = "#384148"; - blue = "#8cc1ff"; - cyan = "#90daff"; - green = "#94f7c5"; - magenta = "#e2a6ff"; - red = "#fc7b81"; - white = "#fafdff"; - yellow = "#ffeba6"; - }; - - cursor = { - cursor = "#f5f5f5"; - text = "CellForeground"; - }; - - normal = { - black = "#1c252c"; - blue = "#70a5eb"; - cyan = "#74bee9"; - green = "#78dba9"; - magenta = "#c68aee"; - red = "#e05f65"; - white = "#dee1e6"; - yellow = "#f1cf8a"; - }; - - primary = { - background = "#171a1f"; - foreground = "#b6beca"; - }; - }; - }; - }; }