Compare commits
5 commits
e30b23fd96
...
2e6b639ee6
Author | SHA1 | Date | |
---|---|---|---|
2e6b639ee6 | |||
bad27ed826 | |||
32472d00aa | |||
24cba7052d | |||
d224acf4eb |
14 changed files with 1861 additions and 22 deletions
symlinks
2
symlinks/config/.gitignore
vendored
2
symlinks/config/.gitignore
vendored
|
@ -75,3 +75,5 @@
|
|||
!/ra-multiplex/
|
||||
!/ra-multiplex/**
|
||||
!/kanshi
|
||||
!/OpenRGB
|
||||
!/OpenRGB/**
|
||||
|
|
1
symlinks/config/OpenRGB/.gitignore
vendored
Normal file
1
symlinks/config/OpenRGB/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
logs
|
1828
symlinks/config/OpenRGB/OpenRGB.json
Normal file
1828
symlinks/config/OpenRGB/OpenRGB.json
Normal file
File diff suppressed because it is too large
Load diff
BIN
symlinks/config/OpenRGB/full_cyan.orp
Normal file
BIN
symlinks/config/OpenRGB/full_cyan.orp
Normal file
Binary file not shown.
BIN
symlinks/config/OpenRGB/full_rainbow.orp
Normal file
BIN
symlinks/config/OpenRGB/full_rainbow.orp
Normal file
Binary file not shown.
BIN
symlinks/config/OpenRGB/red_cyan.orp
Normal file
BIN
symlinks/config/OpenRGB/red_cyan.orp
Normal file
Binary file not shown.
|
@ -29,3 +29,5 @@ opt.hlsearch = true
|
|||
opt.mouse = "a"
|
||||
|
||||
opt.encoding = "utf-8"
|
||||
|
||||
opt.exrc = true
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -64,6 +64,9 @@ mise.local.toml
|
|||
|
||||
# vim
|
||||
Session.vim
|
||||
.exrc
|
||||
.nvimrc
|
||||
.nvim.lua
|
||||
|
||||
# Projectionist
|
||||
.projections.json
|
||||
|
|
Loading…
Add table
Reference in a new issue