diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index 5257113..320606d 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -53,17 +53,17 @@ input-field { valign = center } -label { - monitor = - text = Hi, $USER - color = rgba(200, 200, 200, 1.0) - font_size = 25 - font_family = Noto Sans +#label { +# monitor = +# text = Hi, $USER +# color = rgba(200, 200, 200, 1.0) +# font_size = 25 +# font_family = Noto Sans - position = 0, 80 - halign = center - valign = center -} +# position = 0, 80 +# halign = center +# valign = center +#} label { monitor = diff --git a/nvim/lua/chadrc.lua b/nvim/lua/chadrc.lua index 1d841e9..6f79361 100644 --- a/nvim/lua/chadrc.lua +++ b/nvim/lua/chadrc.lua @@ -5,7 +5,7 @@ local M = {} M.ui = { - theme = "onedark", + theme = "catppuccin", -- hl_override = { -- Comment = { italic = true }, diff --git a/nvim/lua/plugins/init.lua b/nvim/lua/plugins/init.lua index 491c803..901e804 100644 --- a/nvim/lua/plugins/init.lua +++ b/nvim/lua/plugins/init.lua @@ -1,3 +1,14 @@ +-- Run gofmt + goimports on save + +local format_sync_grp = vim.api.nvim_create_augroup("goimports", {}) +vim.api.nvim_create_autocmd("BufWritePre", { + pattern = "*.go", + callback = function() + require('go.format').goimports() + end, + group = format_sync_grp, +}) + return { { "stevearc/conform.nvim",