mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update bspwm theme, lvim
This commit is contained in:
parent
50a524dbc5
commit
6e3359255f
15 changed files with 62 additions and 164 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<h1 align="center">dotfiles</h1>
|
||||
|
||||
[](screen.png)
|
||||

|
||||
--------------
|
||||
|
||||
### System configuration
|
||||
|
|
@ -23,8 +23,8 @@ yay -S rcm
|
|||
|
||||
Install dependency:
|
||||
```bash
|
||||
sudo pacman -S git bspwm sxhkd dunst kitty picom rofi zsh ranger ttf-font-awesome ttf-jetbrains-mono
|
||||
yay -S neovim-nightly-bin polybar
|
||||
sudo pacman -S git bspwm sxhkd dunst alacritty neovim picom rofi zsh ranger ttf-font-awesome ttf-jetbrains-mono
|
||||
yay -S polybar
|
||||
```
|
||||
|
||||
And install configs:
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
# BSPWM
|
||||
|
||||
[](./screen.png)
|
||||

|
||||
--------------
|
||||
|
||||
### Install
|
||||
```bash
|
||||
sudo pacman -S bspwm sxhkd kitty
|
||||
sudo pacman -S bspwm sxhkd alacritty
|
||||
yay -S polybar
|
||||
```
|
||||
|
|
|
|||
|
|
@ -35,20 +35,17 @@ C single_monocle true
|
|||
C focus_follows_pointer true
|
||||
|
||||
# Colors
|
||||
C normal_border_color "#090909"
|
||||
C active_border_color "#1F2324"
|
||||
C focused_border_color "#008DCD"
|
||||
C urgent_border_color "#FF6C6B"
|
||||
C normal_border_color "#1f2227"
|
||||
C active_border_color "#61AFEF"
|
||||
C focused_border_color "#e06c75"
|
||||
C urgent_border_color "#5c6370"
|
||||
|
||||
#== BSPWM Rules
|
||||
R kitty desktop='^1' focus=on follow=on
|
||||
R Google-chrome desktop='^2' focus=on follow=on
|
||||
R Brave desktop='^2' focus=on follow=on
|
||||
R Code desktop='^3' focus=on follow=on state=fullscreen
|
||||
R jetbrains-webstorm desktop='^3' focus=on follow=on
|
||||
R Postman desktop='^4' focus=off follow=off
|
||||
R Simplenote desktop='^4' focus=off follow=off
|
||||
R Zathura desktop='^4' focus=on follow=on state=tiled
|
||||
R discord desktop='^5' focus=on follow=off
|
||||
R TelegramDesktop desktop='^5' focus=off follow=on
|
||||
R Nemo desktop='^5' focus=on follow=on
|
||||
|
|
|
|||
|
|
@ -4,11 +4,12 @@ enable-ipc = true
|
|||
format-padding = 1
|
||||
|
||||
[colors]
|
||||
background = #202020
|
||||
foreground = #ABB2BF
|
||||
cyan = #5f8ccd
|
||||
alert = #D16969
|
||||
empty = #262626
|
||||
background = #1f2227
|
||||
foreground = #abb2bf
|
||||
cyan = #61AFEF
|
||||
alert = #e06c75
|
||||
empty = #5c6370
|
||||
|
||||
|
||||
[bar/bar]
|
||||
width = 100%
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#== Users hotkeys
|
||||
super + {_, shift} Return
|
||||
{kitty, rofi -show drun}
|
||||
{alacritty, rofi -show drun}
|
||||
|
||||
super + shift + {w, e, f, z, q}
|
||||
{google-chrome-stable, \
|
||||
|
|
|
|||
|
|
@ -1,29 +1,29 @@
|
|||
lvim.leader = "space"
|
||||
lvim.format_on_save = false
|
||||
lvim.lint_on_save = false
|
||||
lvim.colorscheme = "onedarker"
|
||||
|
||||
-- Terminal
|
||||
-- Default fatures
|
||||
lvim.builtin.terminal.active = true
|
||||
lvim.builtin.dashboard.active = true
|
||||
lvim.builtin.dap.active = true
|
||||
|
||||
-- GitSigns
|
||||
lvim.builtin.gitsigns.opts.current_line_blame = true
|
||||
lvim.builtin.gitsigns.opts.current_line_blame_opts = { delay = 200 }
|
||||
|
||||
-- TreeSitter
|
||||
lvim.builtin.treesitter.ensure_installed = { "javascript", "typescript", "jsdoc", "lua" }
|
||||
lvim.builtin.treesitter.ensure_installed = { "javascript", "typescript", "jsdoc", "lua", "go" }
|
||||
lvim.builtin.treesitter.indent.disable = { "clojure", "java", "python" }
|
||||
require("user.treesitter")
|
||||
|
||||
-- Telescope
|
||||
lvim.builtin.telescope.defaults.layout_config.prompt_position = "top"
|
||||
lvim.builtin.telescope.defaults.file_ignore_patterns = { ".git", "node_modules", "env" }
|
||||
|
||||
-- Debugger
|
||||
lvim.builtin.dap.active = true
|
||||
|
||||
-- Mappings
|
||||
lvim.keys.normal_mode["<C-w>"] = "<cmd>BufferClose<cr>"
|
||||
lvim.keys.normal_mode["<C-s>"] = "<cmd>w<cr>"
|
||||
lvim.builtin.which_key.mappings.l.a = { "<cmd>Telescope lsp_code_actions<cr>", "Code Actions" }
|
||||
lvim.builtin.which_key.mappings.l.d = { "<cmd>TroubleToggle<cr>", "Diagnostics" }
|
||||
lvim.builtin.which_key.mappings.l.R = { "<cmd>TroubleToggle lsp_references<cr>", "References" }
|
||||
lvim.builtin.which_key.mappings["t"] = {
|
||||
|
|
@ -37,9 +37,8 @@ lvim.builtin.which_key.mappings["t"] = {
|
|||
k = { "<Plug>(ultest-prev-fail)", "Prev fail" },
|
||||
}
|
||||
|
||||
local fmt = string.format
|
||||
for i = 1, 9 do
|
||||
lvim.keys.normal_mode[fmt("<A-%d>", i)] = fmt("<cmd>BufferGoto %d<cr>", i)
|
||||
lvim.keys.normal_mode[string.format("<A-%d>", i)] = string.format("<cmd>BufferGoto %d<cr>", i)
|
||||
end
|
||||
|
||||
-- Pluginos
|
||||
|
|
@ -50,9 +49,9 @@ lvim.plugins = {
|
|||
{ "folke/trouble.nvim", cmd = { "TroubleToggle" } },
|
||||
{ "folke/todo-comments.nvim", event = "BufRead" },
|
||||
{ "theHamsta/nvim-dap-virtual-text", config = "require[[user.dap-virtual-text]].setup()" },
|
||||
{ "vim-test/vim-test", cmd = { "TestNearest", "TestFile", "TestSuite", "TestLast", "TestVisit" } },
|
||||
{
|
||||
"rcarriga/vim-ultest",
|
||||
config = "require[[user.ultest]].setup()",
|
||||
requires = { "vim-test/vim-test" },
|
||||
cmd = { "Ultest", "UltestStop", "UltestClear", "UltestNearest", "UltestOutput" },
|
||||
run = ":UpdateRemotePlugins",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
lvim.format_on_save = true
|
||||
lvim.lang.python.formatters = {
|
||||
{ exe = "black" },
|
||||
{ exe = "isort" },
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"go.lintTool": "golint",
|
||||
"go.logging.level": "error",
|
||||
"go.lintOnSave": "file",
|
||||
"go.lintTool": "golint",
|
||||
"go.formatTool": "gofmt"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,77 +1,15 @@
|
|||
{
|
||||
"json.schemas": [
|
||||
{
|
||||
"fileMatch": [
|
||||
"package.json"
|
||||
],
|
||||
"url": "https://json.schemastore.org/package.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
"tsconfig.json",
|
||||
"tsconfig.*.json"
|
||||
],
|
||||
"url": "http://json.schemastore.org/tsconfig"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
"lerna.json"
|
||||
],
|
||||
"url": "http://json.schemastore.org/lerna"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
".babelrc.json",
|
||||
".babelrc",
|
||||
"babel.config.json"
|
||||
],
|
||||
"url": "http://json.schemastore.org/lerna"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
".eslintrc.json",
|
||||
".eslintrc"
|
||||
],
|
||||
"url": "http://json.schemastore.org/eslintrc"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
"bsconfig.json"
|
||||
],
|
||||
"url": "https://bucklescript.github.io/bucklescript/docson/build-schema.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
".prettierrc",
|
||||
".prettierrc.json",
|
||||
"prettier.config.json"
|
||||
],
|
||||
"url": "http://json.schemastore.org/prettierrc"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
"now.json"
|
||||
],
|
||||
"url": "http://json.schemastore.org/now"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
"openapi.json",
|
||||
"swagger.json"
|
||||
],
|
||||
"url": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
"nest-cli.json"
|
||||
],
|
||||
"url": "https://json.schemastore.org/nest-cli.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
"nodemon.json"
|
||||
],
|
||||
"url": "https://json.schemastore.org/nodemon.json"
|
||||
}
|
||||
{"url": "https://json.schemastore.org/package.json", "fileMatch": ["package.json"]},
|
||||
{"url": "http://json.schemastore.org/tsconfig", "fileMatch": ["tsconfig.json", "tsconfig.*.json"]},
|
||||
{"url": "http://json.schemastore.org/lerna", "fileMatch": ["lerna.json"]},
|
||||
{"url": "http://json.schemastore.org/babelrc.json", "fileMatch": [".babelrc.json", ".babelrc", "babel.config.json"]},
|
||||
{"url": "http://json.schemastore.org/eslintrc", "fileMatch": [".eslintrc.json", ".eslintrc"]},
|
||||
{"url": "https://bucklescript.github.io/bucklescript/docson/build-schema.json", "fileMatch": ["bsconfig.json"]},
|
||||
{"url": "http://json.schemastore.org/prettierrc", "fileMatch": [".prettierrc", ".prettierrc.json", "prettier.config.json"]},
|
||||
{"url": "http://json.schemastore.org/now", "fileMatch": ["now.json"]},
|
||||
{"url": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json", "fileMatch": ["openapi.json", "swagger.json"]},
|
||||
{"url": "https://json.schemastore.org/nest-cli.json", "fileMatch": ["nest-cli.json"]},
|
||||
{"url": "https://json.schemastore.org/nodemon.json", "fileMatch": ["nodemon.json"]}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
{
|
||||
"python.analysis.typeCheckingMode": "off"
|
||||
"python.analysis.typeCheckingMode": "off",
|
||||
"python.analysis.autoImportCompletions": true,
|
||||
"python.analysis.diagnosticMode": "workspace"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,36 +1,11 @@
|
|||
{
|
||||
"yaml.schemas": {
|
||||
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": [
|
||||
"docker-compose.yml",
|
||||
"docker-compose.yaml"
|
||||
],
|
||||
"https://json.schemastore.org/ansible-playbook.json": [
|
||||
"*/playbook/**/*.yml",
|
||||
"*/playbooks/**/*.yml",
|
||||
"*/playbook/**/*.yaml",
|
||||
"*/playbooks/**/*.yaml"
|
||||
],
|
||||
"https://json.schemastore.org/yamllint.json": [
|
||||
".yamllint",
|
||||
".yamllint.yml",
|
||||
".yamllint.yaml"
|
||||
],
|
||||
"https://yarnpkg.com/configuration/yarnrc.json": [
|
||||
".yarnrc",
|
||||
".yarnrc.yml"
|
||||
],
|
||||
"https://json.schemastore.org/github-action.json": [
|
||||
"*/.github/workflows/**/*.yml",
|
||||
"*/.github/workflows/**/*.yaml"
|
||||
],
|
||||
"https://json.schemastore.org/gitlab-ci.json": [
|
||||
".gitlab-ci.yml"
|
||||
],
|
||||
"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json": [
|
||||
"openapi.yaml",
|
||||
"openapi.yml",
|
||||
"swagger.yml",
|
||||
"swagger.yal"
|
||||
]
|
||||
"https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": ["docker-compose.yml", "docker-compose.yaml"],
|
||||
"https://json.schemastore.org/ansible-playbook.json": ["*/playbook/**/*.yml", "*/playbooks/**/*.yml", "*/playbook/**/*.yaml", "*/playbooks/**/*.yaml", "ansible-playbook.yml"],
|
||||
"https://json.schemastore.org/yamllint.json": [".yamllint", ".yamllint.yml", ".yamllint.yaml"],
|
||||
"https://yarnpkg.com/configuration/yarnrc.json": [".yarnrc", ".yarnrc.yml"],
|
||||
"https://json.schemastore.org/github-action.json": ["*/.github/workflows/**/*.yml", "*/.github/workflows/**/*.yaml" ],
|
||||
"https://json.schemastore.org/gitlab-ci.json": [".gitlab-ci.yml"],
|
||||
"https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json": ["openapi.yaml", "openapi.yml", "swagger.yml", "swagger.yal"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
local M = {}
|
||||
|
||||
M.config = function ()
|
||||
vim.cmd [[ let maplocalleader = "," ]]
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
local M = {}
|
||||
|
||||
M.setup = function()
|
||||
-- Go
|
||||
vim.g["test#go#gotest#options"] = "-v"
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
[user]
|
||||
name = Smirnov-O
|
||||
name = neoteny
|
||||
email = ss2316544@gmail.com
|
||||
|
||||
[github]
|
||||
|
|
|
|||
3
zshrc
3
zshrc
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
## Variables
|
||||
export GOPATH="$HOME/go"
|
||||
export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.golang/bin:$GOPATH/bin:$HOME/.yarn/bin:$HOME/.luarocks/bin:$PATH"
|
||||
export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.golang/bin:$GOPATH/bin:$HOME/.yarn/bin:$HOME/.luarocks/bin:$HOME/.cargo/bin:$PATH"
|
||||
export EDITOR="lvim"
|
||||
|
||||
## FzF
|
||||
|
|
@ -27,6 +27,7 @@ alias cls="clear" cp="cp -r" mkdir="mkdir -p" open="open_command" lg="lazygit"
|
|||
alias lv="lvim" vim="lvim"
|
||||
alias ...="cd ../.." .3="cd ../../.."
|
||||
alias gor="go run" gob="go build" gog="go get" goi="go install" got="go test"
|
||||
alias n="npm"
|
||||
|
||||
if [[ -f "/bin/exa" ]]; then
|
||||
alias ls="exa -l" ll="ls" la="ls -a"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue