Updated script
This commit is contained in:
parent
ead948834f
commit
b3497e71e7
@ -21,6 +21,7 @@ exec-once = waybar
|
|||||||
exec-once = systemctl --user start hypridle
|
exec-once = systemctl --user start hypridle
|
||||||
exec-once = systemctl --user start sunshine
|
exec-once = systemctl --user start sunshine
|
||||||
|
|
||||||
|
exec-once = [workspace 1] $terminal
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
### ENVIRONMENT VARIABLES ###
|
### ENVIRONMENT VARIABLES ###
|
||||||
@ -323,6 +324,9 @@ windowrulev2 = workspace emptyn, initialTitle:^(.*PrusaSlicer.*)$
|
|||||||
# FreeCad
|
# FreeCad
|
||||||
windowrulev2 = workspace emptyn, initialTitle:^(FreeCAD.*)$
|
windowrulev2 = workspace emptyn, initialTitle:^(FreeCAD.*)$
|
||||||
|
|
||||||
|
# Steam
|
||||||
|
windowrulev2 = workspace emptyn, initialTitle:^(.*Steam.*)$
|
||||||
|
|
||||||
# Ignore maximize requests from apps. You'll probably like this.
|
# Ignore maximize requests from apps. You'll probably like this.
|
||||||
windowrulev2 = suppressevent maximize, class:.*
|
windowrulev2 = suppressevent maximize, class:.*
|
||||||
|
|
||||||
|
|||||||
@ -65,6 +65,14 @@ vim.api.nvim_create_autocmd(
|
|||||||
{ "InsertEnter", "WinLeave" },
|
{ "InsertEnter", "WinLeave" },
|
||||||
{ pattern = "*", command = "set nocursorline", group = cursorLineGrp }
|
{ pattern = "*", command = "set nocursorline", group = cursorLineGrp }
|
||||||
)
|
)
|
||||||
|
vim.api.nvim_create_autocmd(
|
||||||
|
{ "InsertLeave", "FocusGained" },
|
||||||
|
{ pattern = "*", command = "set cursorline", group = cursorLineGrp }
|
||||||
|
)
|
||||||
|
vim.api.nvim_create_autocmd(
|
||||||
|
{ "InsertEnter", "FocusLost" },
|
||||||
|
{ pattern = "*", command = "set nocursorline", group = cursorLineGrp }
|
||||||
|
)
|
||||||
|
|
||||||
-- Auto format on save
|
-- Auto format on save
|
||||||
vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format()]]
|
vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format()]]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user