Compare commits
No commits in common. "da768823625a81736dafe766a3a5ac4898b0d9d2" and "44955741a4975f4a9498e6041a7588ccfd163bdc" have entirely different histories.
da76882362
...
44955741a4
4 changed files with 25 additions and 47 deletions
|
@ -2,7 +2,7 @@
|
||||||
@use "sass:math";
|
@use "sass:math";
|
||||||
@import "scss/Catppuccin";
|
@import "scss/Catppuccin";
|
||||||
|
|
||||||
$accent: $teal;
|
$accent: $sky;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
all: unset; //Unsets everything so you can style everything from scratch
|
all: unset; //Unsets everything so you can style everything from scratch
|
||||||
|
@ -39,7 +39,7 @@ $foreground: $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel {
|
.panel {
|
||||||
margin: 0px 2px;
|
margin: 5px;
|
||||||
background-color: $background;
|
background-color: $background;
|
||||||
border: 2px solid;
|
border: 2px solid;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
|
|
|
@ -10,11 +10,14 @@
|
||||||
:width "100%"
|
:width "100%"
|
||||||
:height "40px"
|
:height "40px"
|
||||||
:anchor "top center")
|
:anchor "top center")
|
||||||
|
;:reserve (struts :side "top" :distance "45px")
|
||||||
(bar :screen 0 :minimal false)
|
(bar :screen 0 :minimal false)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
; todo: ADD HOME MONITOR
|
||||||
|
|
||||||
(defwindow bar1
|
(defwindow bar1
|
||||||
:monitor '["ASUS MX239", "Acer H236HL", "KA242Y"]'
|
:monitor '["ASUS MX239", "Acer H236HL"]'
|
||||||
:windowtype "dock"
|
:windowtype "dock"
|
||||||
:exclusive true
|
:exclusive true
|
||||||
:geometry (geometry :x "0%"
|
:geometry (geometry :x "0%"
|
||||||
|
@ -22,6 +25,7 @@
|
||||||
:width "100%"
|
:width "100%"
|
||||||
:height "40px"
|
:height "40px"
|
||||||
:anchor "top center")
|
:anchor "top center")
|
||||||
|
;:reserve (struts :side "top" :distance "45px")
|
||||||
(bar :screen 1 :minimal false)
|
(bar :screen 1 :minimal false)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -34,5 +38,6 @@
|
||||||
:width "100%"
|
:width "100%"
|
||||||
:height "40px"
|
:height "40px"
|
||||||
:anchor "top center")
|
:anchor "top center")
|
||||||
|
;:reserve (struts :side "top" :distance "43px")
|
||||||
(bar :screen 2 :minimal true)
|
(bar :screen 2 :minimal true)
|
||||||
)
|
)
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
uri_default = "qemu:///system"
|
|
|
@ -1,44 +1,18 @@
|
||||||
return {
|
return require("util").if_exe("nu", {
|
||||||
-- https://github.com/nushell/tree-sitter-nu/blob/dc22e2577eb09d1d0de50802c59da2eca98a0e7b/installation/neovim.md
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
config = function()
|
config = function()
|
||||||
require("nvim-treesitter.configs").setup {
|
require("nvim-treesitter.configs").setup({
|
||||||
ensure_installed = { "nu" }, -- Ensure the "nu" parser is installed
|
ensure_installed = { "nu" }, -- Ensure the "nu" parser is installed
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true, -- Enable syntax highlighting
|
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,
|
end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
-- Install official queries and filetype detection
|
-- Additional Nushell parser
|
||||||
-- alternatively, see section "Install official queries only"
|
{ "nushell/tree-sitter-nu", build = ":TSUpdate nu" },
|
||||||
{ "nushell/tree-sitter-nu" },
|
|
||||||
},
|
},
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
}
|
},
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in a new issue