Compare commits

...

2 commits

Author SHA1 Message Date
bcc0dcd1eb
flameshot still not ready for primetime 2024-11-22 17:13:27 -06:00
09e963987e
update nushell neovim setup 2024-11-22 17:13:05 -06:00
3 changed files with 29 additions and 15 deletions

View file

@ -15,8 +15,8 @@ bind = $mainMod, T, exec, $termStart --class="float.editor" -e zk ei
bind = $mainMod SHIFT, L, exec, hyprlock
bind = $mainMod, S, exec, flameshot gui
bind = $mainMod SHIFT, S, exec, flameshot screen
# bind = $mainMod, S,exec, grimblast copy area
# bind = $mainMod SHIFT,S, exec, grimblast edit area
bind = $mainMod, S,exec, grimblast copy area
bind = $mainMod SHIFT,S, exec, grimblast edit area
bind = $mainMod, D, exec, makoctl dismiss
bind = $mainMod, C, exec, google-chrome-stable

View file

@ -1,5 +1,3 @@
windowrulev2 = tile,class:(Vivaldi-stable)
windowrulev2 = float,class:^(MultiViewer for F1)$
# notes-editor rules
@ -9,11 +7,16 @@ windowrulev2 = size 80% 80% ,class:^(float.editor)$
windowrulev2 = dimaround, class:^(float.editor)$
windowrulev2 = animation popin 50%, class:^(float.editor)$
# flameshot is still weird and buggy as of 2024/11/21
# noanim isn't necessary but animations with these rules might look bad. use at your own discretion.
windowrulev2 = noanim, class:^(flameshot)$
windowrulev2 = float, class:^(flameshot)$
windowrulev2 = move 0 0, class:^(flameshot)$
windowrulev2 = pin, class:^(flameshot)$
# set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor
# before executing flameshot
windowrulev2 = monitor 1, class:^(flameshot)$
# windowrulev2 = noanim, class:^(flameshot)$
# windowrulev2 = float, class:^(flameshot)$
# windowrulev2 = move 0 0, class:^(flameshot)$
# windowrulev2 = pin, class:^(flameshot)$
# # set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor
# # before executing flameshot
# windowrulev2 = monitor 1, class:^(flameshot)$
#
# possibly why? https://github.com/hyprwm/Hyprland/issues/1987
# windowrulev2 = size 20% 20%, class:^(google-chrome)$
# windowrulev2 = tile, class:^(google-chrome)$

View file

@ -1,7 +1,18 @@
return require("util").if_exe("nu", {
"nvim-treesitter/nvim-treesitter",
dependencies = {
{ "nushell/tree-sitter-nu" },
{
"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
},
})
end,
dependencies = {
-- Additional Nushell parser
{ "nushell/tree-sitter-nu", build = ":TSUpdate nu" },
},
build = ":TSUpdate",
},
build = ":TSUpdate",
})