Compare commits

...

8 Commits

8 changed files with 75 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
programs = {
dconf.enable = true;
@ -8,7 +8,12 @@
enableGlobalCompInit = false;
enableBashCompletion = true;
};
nix-ld.enable = true;
nix-ld = {
enable = true;
libraries = with pkgs; [
stdenv.cc.cc
];
};
steam.enable = true;
};
}

View File

@ -1,5 +1,5 @@
monitor = ,preferred,auto,auto
monitor=eDP-1,preferred,0x0,1.3333
monitor=eDP-1,preferred,0x0,1.5
exec = systemd-run --user ~/.config/hypr/scripts/laptop-lid.bash
bindl=,switch:off:Lid Switch,exec,systemd-run --user ~/.config/hypr/scripts/laptop-lid.bash
bindl=,switch:on:Lid Switch,exec,systemd-run --user ~/.config/hypr/scripts/laptop-lid.bash

View File

@ -317,6 +317,51 @@ return {
end,
}
local cur_bufs = function()
return vim.iter(vim.api.nvim_list_bufs())
:filter(function(buf)
return vim.fn.buflisted(buf) == 1
end)
:filter(vim.api.nvim_buf_is_loaded)
:filter(vim.api.nvim_buf_is_valid)
:totable()
end
local Buffers = {
update = { "BufNew", "VimEnter" },
condition = function()
return #cur_bufs() > 1
end,
{
provider = seps.full.left,
hl = { fg = colors.carpYellow, bg = utils.get_highlight("StatusLine").bg },
},
{
provider = function()
return vim.api.nvim_get_current_buf()
end,
hl = { fg = colors.sumiInk0, bg = colors.carpYellow },
},
{
provider = " " .. seps.full.left,
hl = { fg = colors.roninYellow, bg = colors.carpYellow },
},
{
provider = function()
return ("%d  "):format(#cur_bufs())
end,
hl = function()
return {
fg = colors.sumiInk0,
bg = colors.roninYellow,
}
end,
},
{
provider = seps.full.right,
hl = { fg = colors.roninYellow, bg = utils.get_highlight("StatusLine").bg },
},
}
local TabPages = {
-- only show this component if there's 2 or more tabpages
condition = function()
@ -988,6 +1033,7 @@ return {
{
provider = "%=",
},
Buffers,
TabPages,
},
winbar = {

View File

@ -166,7 +166,7 @@ return {
{
"williamboman/mason-lspconfig.nvim",
opts = {
automatic_installation = true,
automatic_installation = { exclude = { "clangd", "asm-lsp" } },
handlers = {
["jdtls"] = function()
require("java").setup({

View File

@ -2,8 +2,6 @@ return {
{
"folke/noice.nvim",
event = "VeryLazy",
-- Pinned until https://github.com/folke/noice.nvim/issues/923 is resolved
commit = "d9328ef",
config = function()
require("noice").setup({
lsp = {

View File

@ -341,3 +341,19 @@ subnetting
TCP/IP
IPv6
V3
SSID
WPA
IoT
NISTIR
CISA
jiggler
cyber
implementers
wildcard
mistruth
Reinstallation
offsite
endianness
Endian
factorizations
formulae

View File

@ -133,8 +133,10 @@ in
++ [
gnumake
cmake
clang
clang-tools
clang
nasm
asm-lsp
ninja
ccache
llvm
@ -183,6 +185,7 @@ in
};
programs = {
nix-index.enable = true;
wofi.enable = true;
waybar = {
enable = true;