Compare commits

...

5 commits

14 changed files with 1861 additions and 22 deletions

View file

@ -75,3 +75,5 @@
!/ra-multiplex/
!/ra-multiplex/**
!/kanshi
!/OpenRGB
!/OpenRGB/**

1
symlinks/config/OpenRGB/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
logs

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -29,3 +29,5 @@ opt.hlsearch = true
opt.mouse = "a"
opt.encoding = "utf-8"
opt.exrc = true

View file

@ -71,42 +71,40 @@ return require("lazy").setup({
},
})
local last = nil
-- Map test running commands
local opts = { silent = true }
vim.keymap.set("n", "<Leader>tn", function()
last = nil
neotest.run.run()
end, opts)
vim.keymap.set("n", "<Leader>tdn", function()
last = { strategy = "dap", suite = false }
neotest.run.run(last)
neotest.run.run({ strategy = "dap", suite = false })
end, opts)
vim.keymap.set("n", "<Leader>tf", function()
last = vim.fn.expand("%")
neotest.run.run(last)
neotest.run.run(vim.fn.expand("%"))
end, opts)
vim.keymap.set("n", "<Leader>tdf", function()
last = { vim.fn.expand("%"), strategy = "dap", suite = false }
neotest.run.run(last)
neotest.run.run({ vim.fn.expand("%"), strategy = "dap", suite = false })
end, opts)
vim.keymap.set("n", "<Leader>ts", function()
last = { suite = true }
neotest.run.run(last)
neotest.run.run({ suite = true })
end, opts)
vim.keymap.set("n", "<Leader>tds", function()
last = { strategy = "dap", suite = true }
neotest.run.run(last)
neotest.run.run({ strategy = "dap", suite = true })
end, opts)
vim.keymap.set("n", "<Leader>tl", function()
if last then
neotest.run.run(last)
else
neotest.run.run()
end
neotest.run.run_last()
end, opts)
vim.keymap.set("n", "<Leader>tp", neotest.output_panel.open, opts)
vim.keymap.set("n", "<Leader>ton", function()
neotest.output.open({ enter = true })
end, opts)
vim.keymap.set("n", "<Leader>tof", function()
neotest.output.open({ enter = true, position_id = vim.fn.expand("%") })
end, opts)
vim.keymap.set("n", "<Leader>tol", function()
neotest.output.open({ enter = true, last_run = true })
end, opts)
vim.keymap.set("n", "<Leader>tos", neotest.output_panel.open, opts)
end,
},
"nvim-neotest/nvim-nio",

View file

@ -29,3 +29,6 @@ end)
vim.keymap.set("n", "<C-M-F>", function()
require("telescope.builtin").live_grep()
end)
vim.keymap.set("n", "<C-M-P>", function()
require("telescope.builtin").lsp_dynamic_workspace_symbols()
end)

View file

@ -5,6 +5,6 @@ bindsym $alt+L exec 'swaylock'
exec swayidle -w \
timeout 300 'swaylock' \
timeout 330 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' \
timeout 600 'systemctl suspend' \
resume 'swaymsg "output * power on"; openrgb -p ~/.config/OpenRGB/full_cyan.orp' \
timeout 600 'openrgb -b 0 -m off; systemctl suspend' \
before-sleep 'swaylock; playerctl pause'

View file

@ -4,4 +4,4 @@ exec kdeconnect-indicator
exec ulauncher --hide-window
exec libinput-gestures-setup start
exec kanshi
exec openrgb --startminimized
exec openrgb --startminimized --server --profile ~/.config/OpenRGB/full_cyan.orp

View file

@ -5,7 +5,7 @@ set $mode_system "System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) r
mode $mode_system {
bindsym l exec --no-startup-id swaylock, mode "default"
bindsym e exec --no-startup-id swaymsg exit, mode "default"
bindsym s exec --no-startup-id swaylock && systemctl suspend, mode "default"
bindsym s exec --no-startup-id swaylock && openrgb -b 0 -m off && systemctl suspend, mode "default"
bindsym h exec --no-startup-id swaylock && systemctl hibernate, mode "default"
bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"

View file

@ -12,3 +12,5 @@ command githubprexplore js let url = document.getElementById("clone-help-git-url
command githubexplorelocal js let url = document.location.href.replace(/https?:\/\//,"git@").replace("/",":").replace(/$/,".git"); tri.native.run("alacritty --command fish -c 'git-explore-local " + url + "'")
source ~/.config/tridactyl/tridactylrc.local
set editorcmd alacritty --command fish -c 'nvim %f'

View file

@ -64,6 +64,9 @@ mise.local.toml
# vim
Session.vim
.exrc
.nvimrc
.nvim.lua
# Projectionist
.projections.json