Compare commits

...

4 Commits

6 changed files with 27 additions and 5 deletions

View File

@@ -2,5 +2,6 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
markdownlint-cli2 # linter markdownlint-cli2 # linter
marksman # language server
]; ];
} }

View File

@@ -1,7 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
swayidle # lock on idle
swayosd # volume pop-up swayosd # volume pop-up
swaynotificationcenter # notifications swaynotificationcenter # notifications
hyprpolkitagent # Privilege managent hyprpolkitagent # Privilege managent
@@ -12,6 +11,16 @@
xclip xclip
]; ];
services.swayidle = {
enable = true;
events = [
{
event = "before-sleep";
command = "hyprlock";
}
];
};
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
plugins = [ plugins = [

View File

@@ -14,6 +14,8 @@ return {
dependencies = { dependencies = {
-- Required. -- Required.
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
-- For the picker
"nvim-telescope/telescope.nvim",
}, },
opts = { opts = {
workspaces = { workspaces = {

View File

@@ -2,14 +2,20 @@ return {
"folke/snacks.nvim", "folke/snacks.nvim",
---@type snacks.Config ---@type snacks.Config
opts = { opts = {
matcher = {
-- Enable frecensy for matchers
frecency = true,
},
picker = { picker = {
smart = { smart = {
-- Remove the "recent" picker so we don't get things from other directories. -- Remove the "recent" picker so we don't get things from other directories.
multi = { "buffers", "files" }, multi = { "buffers", "files" },
matcher = {
-- sort even when the search string is empty
sort_empty = true,
-- Enable frecensy for matchers. This puts more common files near the top
frecency = true,
-- Make sure files in the current directory are prioritized
cwd_bonus = true,
-- Give more weight to files that are more recent
history_bonus = true,
},
}, },
}, },
}, },

View File

@@ -17,6 +17,7 @@
wget # LazyVim dep? wget # LazyVim dep?
sqlite # For Snacks sqlite # For Snacks
imagemagick # For image conversion/display imagemagick # For image conversion/display
vscode-langservers-extracted # For language servers (it wants this version of eslint for some reason)
]; ];
}; };

View File

@@ -23,6 +23,7 @@
ranger ranger
ueberzugpp # for image previews ueberzugpp # for image previews
w3m # terminal browser for image previews w3m # terminal browser for image previews
dysk # better disk info
# Networking # Networking
dnsutils dnsutils
@@ -40,6 +41,8 @@
home.shellAliases = { home.shellAliases = {
"p?" = "ps ax | grep"; "p?" = "ps ax | grep";
# Dysk is basically just better.
"df" = "dysk";
}; };
programs.zsh = { programs.zsh = {