Compare commits

...

3 commits

Author SHA1 Message Date
da76882362
add libvirt defaults 2024-12-24 10:34:15 -06:00
b339baf513
fixup nu neovim 2024-12-24 09:16:45 -06:00
60340ca382
eww updates 2024-12-24 09:15:03 -06:00
4 changed files with 47 additions and 25 deletions

View file

@ -2,7 +2,7 @@
@use "sass:math";
@import "scss/Catppuccin";
$accent: $sky;
$accent: $teal;
* {
all: unset; //Unsets everything so you can style everything from scratch
@ -34,12 +34,12 @@ $foreground: $text;
color: $foreground;
padding: 2px 5px;
// font-family:"FiraCode Nerd Font Propo";
font-family:"FiraCode Nerd Font Propo";
font-family: "FiraCode Nerd Font Propo";
font-size: 16px;
}
.panel {
margin: 5px;
margin: 0px 2px;
background-color: $background;
border: 2px solid;
border-radius: 15px;

View file

@ -9,23 +9,19 @@
:y "0%"
:width "100%"
:height "40px"
:anchor "top center")
;:reserve (struts :side "top" :distance "45px")
:anchor "top center")
(bar :screen 0 :minimal false)
)
; todo: ADD HOME MONITOR
(defwindow bar1
:monitor '["ASUS MX239", "Acer H236HL"]'
:monitor '["ASUS MX239", "Acer H236HL", "KA242Y"]'
:windowtype "dock"
:exclusive true
:geometry (geometry :x "0%"
:y "0%"
:width "100%"
:height "40px"
:anchor "top center")
;:reserve (struts :side "top" :distance "45px")
:anchor "top center")
(bar :screen 1 :minimal false)
)
@ -37,7 +33,6 @@
:y "0%"
:width "100%"
:height "40px"
:anchor "top center")
;:reserve (struts :side "top" :distance "43px")
:anchor "top center")
(bar :screen 2 :minimal true)
)

View file

@ -0,0 +1 @@
uri_default = "qemu:///system"

View file

@ -1,18 +1,44 @@
return require("util").if_exe("nu", {
{
"nvim-treesitter/nvim-treesitter",
return {
-- https://github.com/nushell/tree-sitter-nu/blob/dc22e2577eb09d1d0de50802c59da2eca98a0e7b/installation/neovim.md
"nvim-treesitter/nvim-treesitter",
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = { "nu" }, -- Ensure the "nu" parser is installed
highlight = {
enable = true, -- Enable syntax highlighting
},
})
require("nvim-treesitter.configs").setup {
ensure_installed = { "nu" }, -- Ensure the "nu" parser is installed
highlight = {
enable = true, -- Enable syntax highlighting
},
-- OPTIONAL!! These enable ts-specific textobjects.
-- So you can hit `yaf` to copy the closest function,
-- `dif` to clear the content of the closest function,
-- or whatever keys you map to what query.
textobjects = {
select = {
enable = true,
keymaps = {
-- You can use the capture groups defined in textobjects.scm
-- For example:
-- Nushell only
["aP"] = "@pipeline.outer",
["iP"] = "@pipeline.inner",
-- supported in other languages as well
["af"] = "@function.outer",
["if"] = "@function.inner",
["al"] = "@loop.outer",
["il"] = "@loop.inner",
["aC"] = "@conditional.outer",
["iC"] = "@conditional.inner",
["iS"] = "@statement.inner",
["aS"] = "@statement.outer",
}, -- keymaps
}, -- select
}, -- textobjects
}
end,
dependencies = {
-- Additional Nushell parser
{ "nushell/tree-sitter-nu", build = ":TSUpdate nu" },
-- Install official queries and filetype detection
-- alternatively, see section "Install official queries only"
{ "nushell/tree-sitter-nu" },
},
build = ":TSUpdate",
},
})
}