Compare commits
2 commits
c4c1236f9d
...
bcc0dcd1eb
Author | SHA1 | Date | |
---|---|---|---|
bcc0dcd1eb | |||
09e963987e |
3 changed files with 29 additions and 15 deletions
|
@ -15,8 +15,8 @@ bind = $mainMod, T, exec, $termStart --class="float.editor" -e zk ei
|
||||||
bind = $mainMod SHIFT, L, exec, hyprlock
|
bind = $mainMod SHIFT, L, exec, hyprlock
|
||||||
bind = $mainMod, S, exec, flameshot gui
|
bind = $mainMod, S, exec, flameshot gui
|
||||||
bind = $mainMod SHIFT, S, exec, flameshot screen
|
bind = $mainMod SHIFT, S, exec, flameshot screen
|
||||||
# bind = $mainMod, S,exec, grimblast copy area
|
bind = $mainMod, S,exec, grimblast copy area
|
||||||
# bind = $mainMod SHIFT,S, exec, grimblast edit area
|
bind = $mainMod SHIFT,S, exec, grimblast edit area
|
||||||
bind = $mainMod, D, exec, makoctl dismiss
|
bind = $mainMod, D, exec, makoctl dismiss
|
||||||
bind = $mainMod, C, exec, google-chrome-stable
|
bind = $mainMod, C, exec, google-chrome-stable
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
windowrulev2 = tile,class:(Vivaldi-stable)
|
|
||||||
|
|
||||||
windowrulev2 = float,class:^(MultiViewer for F1)$
|
windowrulev2 = float,class:^(MultiViewer for F1)$
|
||||||
|
|
||||||
# notes-editor rules
|
# notes-editor rules
|
||||||
|
@ -9,11 +7,16 @@ windowrulev2 = size 80% 80% ,class:^(float.editor)$
|
||||||
windowrulev2 = dimaround, class:^(float.editor)$
|
windowrulev2 = dimaround, class:^(float.editor)$
|
||||||
windowrulev2 = animation popin 50%, 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.
|
# noanim isn't necessary but animations with these rules might look bad. use at your own discretion.
|
||||||
windowrulev2 = noanim, class:^(flameshot)$
|
# windowrulev2 = noanim, class:^(flameshot)$
|
||||||
windowrulev2 = float, class:^(flameshot)$
|
# windowrulev2 = float, class:^(flameshot)$
|
||||||
windowrulev2 = move 0 0, class:^(flameshot)$
|
# windowrulev2 = move 0 0, class:^(flameshot)$
|
||||||
windowrulev2 = pin, class:^(flameshot)$
|
# windowrulev2 = pin, class:^(flameshot)$
|
||||||
# set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor
|
# # set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor
|
||||||
# before executing flameshot
|
# # before executing flameshot
|
||||||
windowrulev2 = monitor 1, class:^(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)$
|
||||||
|
|
|
@ -1,7 +1,18 @@
|
||||||
return require("util").if_exe("nu", {
|
return require("util").if_exe("nu", {
|
||||||
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"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 = {
|
dependencies = {
|
||||||
{ "nushell/tree-sitter-nu" },
|
-- Additional Nushell parser
|
||||||
|
{ "nushell/tree-sitter-nu", build = ":TSUpdate nu" },
|
||||||
},
|
},
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue