polybar fix deprecated modules, nvim fix some things, i3 notify brightness
This commit is contained in:
parent
08dbbfa2e8
commit
4c83d8f94b
8 changed files with 42 additions and 42 deletions
|
@ -49,8 +49,8 @@ bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||||
|
|
||||||
# Use lux to adjust brightness
|
# Use lux to adjust brightness
|
||||||
bindsym XF86MonBrightnessUp exec --no-startup-id lux -a 10%
|
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
|
bindsym XF86MonBrightnessDown exec --no-startup-id lux -s 10% -m 1; exec notify-send "Brightness $(lux -G)"
|
||||||
|
|
||||||
# Screen capture program
|
# Screen capture program
|
||||||
bindsym Print exec --no-startup-id flameshot gui
|
bindsym Print exec --no-startup-id flameshot gui
|
||||||
|
|
|
@ -38,6 +38,7 @@ return {
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
-- NOTE: this is a
|
||||||
"sainnhe/gruvbox-material",
|
"sainnhe/gruvbox-material",
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
config = function()
|
config = function()
|
||||||
|
|
|
@ -4,7 +4,7 @@ return {
|
||||||
require("conform").setup({
|
require("conform").setup({
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
python = { "isort", "black" },
|
python = { "black" },
|
||||||
javascript = { "prettierd" },
|
javascript = { "prettierd" },
|
||||||
typescript = { "prettierd" },
|
typescript = { "prettierd" },
|
||||||
html = { "prettierd" },
|
html = { "prettierd" },
|
||||||
|
|
|
@ -137,21 +137,21 @@ return {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
-- {
|
||||||
"zbirenbaum/copilot.lua",
|
-- "zbirenbaum/copilot.lua",
|
||||||
event = "InsertEnter",
|
-- event = "InsertEnter",
|
||||||
config = function()
|
-- config = function()
|
||||||
require("copilot").setup({
|
-- require("copilot").setup({
|
||||||
suggestion = {
|
-- suggestion = {
|
||||||
enabled = true,
|
-- enabled = true,
|
||||||
auto_trigger = true,
|
-- auto_trigger = true,
|
||||||
keymap = {
|
-- keymap = {
|
||||||
accept = "<C-q>",
|
-- accept = "<C-q>",
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
})
|
-- })
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
|
|
@ -12,19 +12,19 @@ return {
|
||||||
checkboxes = false,
|
checkboxes = false,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
require('orgmode').setup_ts_grammar()
|
-- require('orgmode').setup_ts_grammar()
|
||||||
-- Treesitter configuration
|
-- -- Treesitter configuration
|
||||||
require('nvim-treesitter.configs').setup {
|
-- require('nvim-treesitter.configs').setup {
|
||||||
-- If TS highlights are not enabled at all, or disabled via `disable` prop,
|
-- -- If TS highlights are not enabled at all, or disabled via `disable` prop,
|
||||||
-- highlighting will fallback to default Vim syntax highlighting
|
-- -- highlighting will fallback to default Vim syntax highlighting
|
||||||
highlight = {
|
-- highlight = {
|
||||||
enable = true,
|
-- enable = true,
|
||||||
-- Required for spellcheck, some LaTex highlights and
|
-- -- Required for spellcheck, some LaTex highlights and
|
||||||
-- code block highlights that do not have ts grammar
|
-- -- code block highlights that do not have ts grammar
|
||||||
additional_vim_regex_highlighting = { 'org' },
|
-- additional_vim_regex_highlighting = { 'org' },
|
||||||
},
|
-- },
|
||||||
ensure_installed = { 'org' }, -- Or run :TSUpdate org
|
-- ensure_installed = { 'org' }, -- Or run :TSUpdate org
|
||||||
}
|
-- }
|
||||||
require('orgmode').setup({
|
require('orgmode').setup({
|
||||||
org_agenda_files = { '~/Nextcloud/org/**/*', '~/Nextcloud/Documents/uni/**/*' },
|
org_agenda_files = { '~/Nextcloud/org/**/*', '~/Nextcloud/Documents/uni/**/*' },
|
||||||
org_default_notes_file = '~/Nextcloud/org/refile.org',
|
org_default_notes_file = '~/Nextcloud/org/refile.org',
|
||||||
|
|
|
@ -33,7 +33,6 @@ return {
|
||||||
"vim",
|
"vim",
|
||||||
"vimdoc",
|
"vimdoc",
|
||||||
"yaml",
|
"yaml",
|
||||||
"org",
|
|
||||||
"dockerfile",
|
"dockerfile",
|
||||||
"go",
|
"go",
|
||||||
"haskell",
|
"haskell",
|
||||||
|
|
|
@ -65,7 +65,7 @@ height = 24pt
|
||||||
|
|
||||||
modules-left = i3 sep title
|
modules-left = i3 sep title
|
||||||
modules-center = date dot time
|
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}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
|
|
|
@ -283,20 +283,20 @@ format-prefix-padding-right = 1
|
||||||
|
|
||||||
[module/space]
|
[module/space]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = _
|
format = _
|
||||||
content-foreground = ${colors.background}
|
format-foreground = ${colors.background}
|
||||||
content-padding = 0.5
|
format-padding = 0.5
|
||||||
|
|
||||||
[module/dot]
|
[module/dot]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content =
|
format =
|
||||||
content-foreground = ${colors.grey}
|
format-foreground = ${colors.grey}
|
||||||
content-padding = 1
|
format-padding = 1
|
||||||
|
|
||||||
[module/sep]
|
[module/sep]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = |
|
format = |
|
||||||
content-foreground = ${colors.grey}
|
format-foreground = ${colors.grey}
|
||||||
content-padding = 1
|
format-padding = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue