Compare commits

...

6 Commits

  1. 25
      .config/i3/config
  2. 2
      .config/i3/scripts/autoapp
  3. 2
      .config/nvim/.env
  4. 14
      .config/nvim/lazy-lock.json
  5. 3
      .config/nvim/lua/config/options.lua
  6. 25
      .config/nvim/lua/plugins/dashboard.lua
  7. 7
      .config/nvim/lua/plugins/image.lua
  8. 8
      .config/nvim/lua/plugins/notify-config.lua
  9. 29
      .config/nvim/lua/plugins/snacks.lua
  10. 3
      .config/nvim/lua/plugins/zz_disabled.lua
  11. 1
      .gitignore
  12. 3
      .zshrc

25
.config/i3/config

@ -175,10 +175,10 @@ floating_modifier $mod
bindsym $mod+Shift+q kill
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
# bindsym $mod+j focus left
# bindsym $mod+k focus down
# bindsym $mod+l focus up
# bindsym $mod+semicolon focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
@ -187,10 +187,10 @@ bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
# bindsym $mod+Shift+j move left
# bindsym $mod+Shift+k move down
# bindsym $mod+Shift+l move up
# bindsym $mod+Shift+semicolon move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
@ -343,8 +343,10 @@ bindsym Shift+$mod+p exec /home/chodak/.screenlayout/edp.sh
# bindsym $mod+Shift+c exec rfreload
# suspend
bindsym $mod+Escape exec systemctl suspend
bindsym $mod+Escape exec i3lock -c 000000 && systemctl suspend
# lock
bindsym $mod+Shift+l exec i3lock -c 000000
# regenerate i3 configuration file and restart i3 (preserves your layout/session, can be used to upgrade i3)
# bindsym $mod+Shift+r exec rfreload --restart
@ -528,6 +530,11 @@ for_window [class="gsimplecal"] floating enable
for_window [class="Osmo"] floating enable
for_window [class="Skype"] floating enable
for_window [class="Yad"] floating enable
for_window [class="SMiKO" instance="^SMiKO$"] floating enable
for_window [class="SMiKO" instance="SMiKO"] floating enable
#################################################################
# /profiles/current/config.d/90-exec:

2
.config/i3/scripts/autoapp

@ -2,7 +2,7 @@
import subprocess, json, os
mapFile = open(os.environ['HOME'] + '/.config/ratflow/profiles/current/autoapp.conf', 'r');
mapFile = open(os.environ['HOME'] + '/.config/i3/autoapp.conf', 'r');
map = json.loads(mapFile.read());

2
.config/nvim/.env

@ -1,2 +0,0 @@
AVANTE_DEEPSEEK_API_KEY=sk-f0415e7a442944a59020592c7e550e70
AVANTE_Z_API_KEY=1c71032c639a419eb4d90393fab40f4c.PgITdx53xWWfkNrq

14
.config/nvim/lazy-lock.json

@ -1,10 +1,11 @@
{
"LazyVim": { "branch": "main", "commit": "83d90f339defdb109a6ede333865a66ffc7ef6aa" },
"avante.nvim": { "branch": "main", "commit": "f57f541959797bbca76e6e77efeb8b572e0bea2f" },
"avante.nvim": { "branch": "main", "commit": "0e40cb0c0f13b87be8a2276a844428d60c466d78" },
"blink.cmp": { "branch": "main", "commit": "78336bc89ee5365633bcf754d93df01678b5c08f" },
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"catppuccin": { "branch": "main", "commit": "8edd468af4d63212b84d69b2ddb5ffc9023ef5eb" },
"conform.nvim": { "branch": "master", "commit": "18aeab3d63d350dcf44d64c462cc489a3412af40" },
"clangd_extensions.nvim": { "branch": "main", "commit": "78c2ecd659d54972be17aa6ba2deac3c53223b80" },
"conform.nvim": { "branch": "master", "commit": "619363c30309d29ffa631e67c8183f2a72caa373" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"dotenv.nvim": { "branch": "main", "commit": "7d516e9293c6e3ac21830fb10a4e8674c02747c6" },
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
@ -12,7 +13,8 @@
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
"gitsigns.nvim": { "branch": "main", "commit": "dd3f588bacbeb041be6facf1742e42097f62165d" },
"grug-far.nvim": { "branch": "main", "commit": "5506c2f59dc9ab2ed6c233585412b24d31d51521" },
"hybrid-theme": { "branch": "main", "commit": "e09de613941e761e2dd75901a65d54979f369877" },
"hybrid-theme": { "branch": "main", "commit": "b131110fbe63481d7d263c71982206a70a04d236" },
"image.nvim": { "branch": "master", "commit": "44e07129cd0ea0c60afa7a1991d35b5765b51a6b" },
"indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" },
"just-runner.nvim": { "branch": "main", "commit": "f29d405aa828900df242600720a2b0e57261489f" },
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
@ -27,14 +29,14 @@
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-lint": { "branch": "master", "commit": "d48f3a76189d03b2239f6df1b2f7e3fa8353743b" },
"nvim-lspconfig": { "branch": "master", "commit": "a4ed4e761c400849e8c9f8bda33e5083f890268c" },
"nvim-lspconfig": { "branch": "master", "commit": "9573948c38bfabeec353ae7dd7d3ffec4c506a6b" },
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
"nvim-treesitter-textobjects": { "branch": "main", "commit": "851e865342e5a4cb1ae23d31caf6e991e1c99f1e" },
"nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" },
"persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" },
"plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" },
"render-markdown.nvim": { "branch": "main", "commit": "629eb9533ec989d9d5c6cab8f3ad5372422c24e0" },
"snacks.nvim": { "branch": "main", "commit": "0770753c88228f7f15449c6a5b242e3f7cd0d71c" },
"render-markdown.nvim": { "branch": "main", "commit": "5adf0895310c1904e5abfaad40a2baad7fe44a07" },
"snacks.nvim": { "branch": "main", "commit": "882c996cf28183f4d63640de0b4c02ec886d01f2" },
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
"tokyonight.nvim": { "branch": "main", "commit": "cdc07ac78467a233fd62c493de29a17e0cf2b2b6" },
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },

3
.config/nvim/lua/config/options.lua

@ -35,4 +35,5 @@ vim.opt.listchars = {
-- eol = "↲", -- Symbol for end of line (optional)
}
-- Do not hide syntax makers (**, ``` etc)
-- vim.opt.conceallevel = 0

25
.config/nvim/lua/plugins/dashboard.lua

@ -0,0 +1,25 @@
return {
"nvim-mini/snacks.nvim",
opts = {
dashboard = {
enabled = true,
-- Override the header section directly if needed, or use the preset
preset = {
header = [[
]],
},
},
},
}

7
.config/nvim/lua/plugins/image.lua

@ -0,0 +1,7 @@
return {
"3rd/image.nvim",
build = false, -- so that it doesn't build the rock https://github.com/3rd/image.nvim/issues/91#issuecomment-2453430239
opts = {
processor = "magick_cli",
},
}

8
.config/nvim/lua/plugins/notify-config.lua

@ -0,0 +1,8 @@
return {
"folke/snacks.nvim",
opts = {
notifier = {
timeout = 10000,
},
},
}

29
.config/nvim/lua/plugins/snacks.lua

@ -18,6 +18,35 @@ return {
"**/.git",
"**/.DS_Store",
},
-- Yang paths from explorer - Y for relative, gy for absolute
win = {
list = {
keys = {
["Y"] = "copy_relative",
["gy"] = "copy_absolute",
},
},
},
actions = {
copy_absolute = function(_, item)
local path = item.file
vim.fn.setreg('"', path)
vim.fn.setreg("+", path)
Snacks.notify.info("Copied absolute path: " .. path)
end,
copy_relative = function(_, item)
local path = vim.fn.fnamemodify(item.file, ":.")
vim.fn.setreg('"', path)
vim.fn.setreg("+", path)
Snacks.notify.info("Copied relative path: " .. path)
end,
copy_filename = function(_, item)
local filename = vim.fn.fnamemodify(item.file, ":t")
vim.fn.setreg("+", filename)
vim.fn.setreg('"', filename)
vim.notify("Copied filename: " .. filename)
end,
},
},
files = {
hidden = true,

3
.config/nvim/lua/plugins/zz_disabled.lua

@ -6,5 +6,6 @@
-- config update-index --skip-worktree .config/nvim/lua/plugins/zz_disabled.lua
return {
{ "yetone/avante.nvim", enabled = false },
{ "yetone/avante.nvim", enabled = true },
{ "p00f/clangd_extensions.nvim", enabled = true },
}

1
.gitignore vendored

@ -1,3 +1,4 @@
*.old
*.orig
*.bak
.config/nvim/.env

3
.zshrc

@ -182,11 +182,12 @@ alias xcontrast-reset='xcalib -c'
alias ll='eza --icons=auto -T --level 2 -lah --group-directories-first --color=always | less'
alias l='eza --icons=auto -lah --group-directories-first --color=always | less'
alias gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
alias git-config-pb='git config user.name "Łukasz Chodyła" && git config user.email "lukasz.chodyla@platformabiznesu.net"'
alias git-config-tb='git config user.name "Łukasz Chodyła" && git config user.email "lukasz.chodyla@transbit.com.pl"'
alias git-config-ch='git config user.name "chodak166" && git config user.email "chodak166@op.pl"'
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME'
alias v='nvim'
alias se=sudoedit
alias trb-smb-mount='sudo mount -t cifs -o uid=`id -u chodylal` -o gid=`id -g chodylal` -o user=chodylal //trb-fs-p01/repozytorium/ /home/chodylal/smb'
config config status.showUntrackedFiles no

Loading…
Cancel
Save