Compare commits

..

No commits in common. "e1c3fd6cb8771c188f8b99d9531075bef4f59c64" and "dfa99a5d4c7a1c45cf59f966655cafe314d9393f" have entirely different histories.

7 changed files with 14 additions and 24 deletions

View file

@ -19,5 +19,4 @@
]; ];
options.patagia.desktop.enable = lib.mkEnableOption "Desktop environment"; options.patagia.desktop.enable = lib.mkEnableOption "Desktop environment";
options.patagia.oled.enable = lib.mkEnableOption "Darker darks on oled screens";
} }

View file

@ -63,12 +63,10 @@
}; };
}; };
xdg.configFile."ghostty/themes/PatagiaDark".text = xdg.configFile."ghostty/themes/PatagiaDark".text = ''
let # background = "#14151a"
background = if config.patagia.oled.enable then "#000000" else "#14151a"; # foreground = "#d1d5db"
in background = "#000000"
''
background = "${background}"
foreground = "#d1d5db" foreground = "#d1d5db"
cursor-color = #00d992 cursor-color = #00d992
selection-background = #d7d7d7 selection-background = #d7d7d7

View file

@ -39,7 +39,7 @@ local colors = {
}, },
dark = { dark = {
background = "NONE", background = hsl(230, 13, 9),
foreground = hsl(216, 12, 84), foreground = hsl(216, 12, 84),
accent1 = hsl(12, 100, 50), accent1 = hsl(12, 100, 50),

View file

@ -69,7 +69,7 @@ MiniPick.registry.files_root = function(local_opts)
local root_dir = vim.fs.dirname(vim.fs.find(root_patterns, { upward = true })[1]) local root_dir = vim.fs.dirname(vim.fs.find(root_patterns, { upward = true })[1])
local_opts.cwd = root_dir local_opts.cwd = root_dir
local_opts.tool = "rg" local_opts.tool = "rg"
return MiniPick.builtin.files(local_opts, { source = { cwd = root_dir, tool = "rg" } }) return MiniPick.builtin.files(local_opts, { source = { cwd = root_dir, tool = "ripgrep" } })
end end
MiniPick.registry.grep_live_root = function(local_opts) MiniPick.registry.grep_live_root = function(local_opts)
local root_patterns = { ".jj", ".git" } local root_patterns = { ".jj", ".git" }
@ -130,6 +130,9 @@ require("mini.pick").registry.buffers = function(local_opts, opts)
return require("mini.pick").start(opts) return require("mini.pick").start(opts)
end end
local miniclue = require('mini.clue') local miniclue = require('mini.clue')
miniclue.setup({ -- cute prompts about bindings miniclue.setup({ -- cute prompts about bindings
triggers = { triggers = {

View file

@ -53,13 +53,10 @@
ripgrep = { ripgrep = {
enable = true; enable = true;
arguments = [ arguments = [
"--glob=!**/.cache/*" "--glob=!.git/*"
"--glob=!**/.direnv/*" "--glob=!.jj/*"
"--glob=!**/.git/*" "--glob=!result/*"
"--glob=!**/.jj/*" "--glob=!target/*"
"--glob=!**/{node_modules,.npm,dist}/*"
"--glob=!**/target/*"
"--glob=!**/result/*"
]; ];
}; };

View file

@ -116,12 +116,9 @@
"*.so" "*.so"
"*.swp" "*.swp"
".direnv" ".direnv"
".env"
".idea" ".idea"
".nixos-test-history"
".null-ls_*" ".null-ls_*"
"/result*" "result"
"/target"
]; ];
signing = { signing = {

View file

@ -5,10 +5,6 @@
./desktop.nix ./desktop.nix
]; ];
patagia = {
oled.enable = true;
};
dconf.settings = { dconf.settings = {
"org/gnome/shell" = { "org/gnome/shell" = {
enabled-extensions = [ "Battery-Health-Charging@maniacx.github.com" ]; enabled-extensions = [ "Battery-Health-Charging@maniacx.github.com" ];