From 376adaf6543f4590360a0ac79635468f33860a13 Mon Sep 17 00:00:00 2001 From: dim Date: Thu, 2 Jan 2025 18:34:44 +0700 Subject: [PATCH] update config --- home/programs/nvim/default.nix | 1 + home/programs/nvim/options.nix | 2 +- home/programs/nvim/plugins/lsp.nix | 1 + home/system/hyprland/windowrule.nix | 1 + home/system/hyprpanel/default.nix | 12 ++++++------ 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/home/programs/nvim/default.nix b/home/programs/nvim/default.nix index 66f12ee..60ffbb3 100644 --- a/home/programs/nvim/default.nix +++ b/home/programs/nvim/default.nix @@ -12,6 +12,7 @@ ./plugins/dap.nix ./plugins/telescope.nix ./plugins/zenmode.nix + ./plugins/project.nix ./options.nix ./keymaps.nix diff --git a/home/programs/nvim/options.nix b/home/programs/nvim/options.nix index b93eb97..8039ad0 100644 --- a/home/programs/nvim/options.nix +++ b/home/programs/nvim/options.nix @@ -29,7 +29,7 @@ termguicolors = true; showmode = false; - wrap = true; + wrap = false; linebreak = true; swapfile = false; diff --git a/home/programs/nvim/plugins/lsp.nix b/home/programs/nvim/plugins/lsp.nix index 3ce905f..2dba624 100644 --- a/home/programs/nvim/plugins/lsp.nix +++ b/home/programs/nvim/plugins/lsp.nix @@ -57,5 +57,6 @@ }; }; }; + ts-autotag = { enable = true; }; }; } diff --git a/home/system/hyprland/windowrule.nix b/home/system/hyprland/windowrule.nix index 62e2fb8..0e41d69 100644 --- a/home/system/hyprland/windowrule.nix +++ b/home/system/hyprland/windowrule.nix @@ -13,6 +13,7 @@ "float, class:(firefox),title:^(Extension)(.*)$" "float, class:^(pcmanfm)$,title:^(Confirm File Replacing)$" "float, class:^(nemo)$,title:^(Confirm File Replacing)$" + "float, title:^(Confirm File Replacing)$" "float, class:^(nm-connection-editor)$" "float, class:^(.*blueman-manager.*)$" "size 530 300, class:^(.*blueman-manager.*)$" diff --git a/home/system/hyprpanel/default.nix b/home/system/hyprpanel/default.nix index 2dcb1db..907686a 100644 --- a/home/system/hyprpanel/default.nix +++ b/home/system/hyprpanel/default.nix @@ -169,17 +169,17 @@ in { "menus.dashboard.shortcuts.right.shortcut3.tooltip": "Screenshot", "menus.dashboard.directories.left.directory1.label": "󰉍 Downloads", - "menus.dashboard.directories.left.directory1.command": "bash -c \"nemo $HOME/Downloads/\"", + "menus.dashboard.directories.left.directory1.command": "bash -c \"thunar $HOME/Downloads/\"", "menus.dashboard.directories.left.directory2.label": "󰉏 Pictures", - "menus.dashboard.directories.left.directory2.command": "bash -c \"nemo $HOME/Pictures/\"", + "menus.dashboard.directories.left.directory2.command": "bash -c \"thunar $HOME/Pictures/\"", "menus.dashboard.directories.left.directory3.label": "󱧶 Documents", - "menus.dashboard.directories.left.directory3.command": "bash -c \"nemo $HOME/Documents/\"", + "menus.dashboard.directories.left.directory3.command": "bash -c \"thunar $HOME/Documents/\"", "menus.dashboard.directories.right.directory1.label": "󱂵 Home", - "menus.dashboard.directories.right.directory1.command": "bash -c \"nemo $HOME/\"", + "menus.dashboard.directories.right.directory1.command": "bash -c \"thunar $HOME/\"", "menus.dashboard.directories.right.directory2.label": "󰚝 Projects", - "menus.dashboard.directories.right.directory2.command": "bash -c \"nemo $HOME/dev/\"", + "menus.dashboard.directories.right.directory2.command": "bash -c \"thunar $HOME/dev/\"", "menus.dashboard.directories.right.directory3.label": " Config", - "menus.dashboard.directories.right.directory3.command": "bash -c \"nemo $HOME/.config/\"", + "menus.dashboard.directories.right.directory3.command": "bash -c \"thunar $HOME/.config/\"", "theme.bar.menus.monochrome": true, "wallpaper.enable": false,