polybar fix deprecated modules, nvim fix some things, i3 notify brightness

This commit is contained in:
Tiago Sousa 2024-04-15 14:57:59 +01:00
parent 08dbbfa2e8
commit 4c83d8f94b
Signed by: tiago
SSH key fingerprint: SHA256:odOD9vln9U7qNe1R8o3UCbE3jkQCkr5/q5mgd5hwua0
8 changed files with 42 additions and 42 deletions

View file

@ -49,8 +49,8 @@ bindsym XF86AudioNext exec --no-startup-id playerctl next
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
# Use lux to adjust brightness
bindsym XF86MonBrightnessUp exec --no-startup-id lux -a 10%
bindsym XF86MonBrightnessDown exec --no-startup-id lux -s 10% -m 1
bindsym XF86MonBrightnessUp exec --no-startup-id lux -a 10%; exec notify-send "Brightness $(lux -G)"
bindsym XF86MonBrightnessDown exec --no-startup-id lux -s 10% -m 1; exec notify-send "Brightness $(lux -G)"
# Screen capture program
bindsym Print exec --no-startup-id flameshot gui

View file

@ -38,6 +38,7 @@ return {
},
{
-- NOTE: this is a
"sainnhe/gruvbox-material",
priority = 1000,
config = function()

View file

@ -4,7 +4,7 @@ return {
require("conform").setup({
formatters_by_ft = {
lua = { "stylua" },
python = { "isort", "black" },
python = { "black" },
javascript = { "prettierd" },
typescript = { "prettierd" },
html = { "prettierd" },

View file

@ -137,21 +137,21 @@ return {
end,
},
{
"zbirenbaum/copilot.lua",
event = "InsertEnter",
config = function()
require("copilot").setup({
suggestion = {
enabled = true,
auto_trigger = true,
keymap = {
accept = "<C-q>",
},
},
})
end,
},
-- {
-- "zbirenbaum/copilot.lua",
-- event = "InsertEnter",
-- config = function()
-- require("copilot").setup({
-- suggestion = {
-- enabled = true,
-- auto_trigger = true,
-- keymap = {
-- accept = "<C-q>",
-- },
-- },
-- })
-- end,
-- },
{
"neovim/nvim-lspconfig",
dependencies = {

View file

@ -12,19 +12,19 @@ return {
checkboxes = false,
},
})
require('orgmode').setup_ts_grammar()
-- Treesitter configuration
require('nvim-treesitter.configs').setup {
-- If TS highlights are not enabled at all, or disabled via `disable` prop,
-- highlighting will fallback to default Vim syntax highlighting
highlight = {
enable = true,
-- Required for spellcheck, some LaTex highlights and
-- code block highlights that do not have ts grammar
additional_vim_regex_highlighting = { 'org' },
},
ensure_installed = { 'org' }, -- Or run :TSUpdate org
}
-- require('orgmode').setup_ts_grammar()
-- -- Treesitter configuration
-- require('nvim-treesitter.configs').setup {
-- -- If TS highlights are not enabled at all, or disabled via `disable` prop,
-- -- highlighting will fallback to default Vim syntax highlighting
-- highlight = {
-- enable = true,
-- -- Required for spellcheck, some LaTex highlights and
-- -- code block highlights that do not have ts grammar
-- additional_vim_regex_highlighting = { 'org' },
-- },
-- ensure_installed = { 'org' }, -- Or run :TSUpdate org
-- }
require('orgmode').setup({
org_agenda_files = { '~/Nextcloud/org/**/*', '~/Nextcloud/Documents/uni/**/*' },
org_default_notes_file = '~/Nextcloud/org/refile.org',

View file

@ -33,7 +33,6 @@ return {
"vim",
"vimdoc",
"yaml",
"org",
"dockerfile",
"go",
"haskell",

View file

@ -65,7 +65,7 @@ height = 24pt
modules-left = i3 sep title
modules-center = date dot time
modules-right = xkeyboard dot cpu dot gpu dot memory dot backlight dot pulseaudio sep filesystem sep battery
modules-right = xkeyboard dot cpu dot gpu dot memory dot pulseaudio sep filesystem sep battery
background = ${colors.background}
foreground = ${colors.foreground}

View file

@ -283,20 +283,20 @@ format-prefix-padding-right = 1
[module/space]
type = custom/text
content = _
content-foreground = ${colors.background}
content-padding = 0.5
format = _
format-foreground = ${colors.background}
format-padding = 0.5
[module/dot]
type = custom/text
content = 󰧞
content-foreground = ${colors.grey}
content-padding = 1
format = 󰧞
format-foreground = ${colors.grey}
format-padding = 1
[module/sep]
type = custom/text
content = |
content-foreground = ${colors.grey}
content-padding = 1
format = |
format-foreground = ${colors.grey}
format-padding = 1