Update dotfiles

This commit is contained in:
hok7z 2023-03-12 22:09:11 +02:00
parent f102096743
commit b2f8c1ce2a
14 changed files with 448 additions and 407 deletions

View File

@ -1,5 +1,7 @@
if status is-interactive
alias ls="lsd"
alias v="vim"
alias nv="nvim"
alias gc="git clone"
@ -8,11 +10,12 @@ if status is-interactive
alias la="lsd -la"
alias dotfiles="git --git-dir=$HOME/repos/dotfiles --work-tree=$HOME/"
alias dotfiles="git --git-dir=/home/q/repos/dotfiles.git --work-tree=$HOME"
set -U fish_user_paths $HOME/bin $fish_user_paths
set -x PF_INFO "ascii title os kernel wm shell pkgs memory"
set -x TERM "xterm"
set srcdir "$HOME/.cache/"
set pkgdir "$HOME/.npm/"

View File

@ -8,7 +8,7 @@
# title=foot
# locked-title=no
font=JetBrainsMono Nerd Font Mono:size=11
font=JetBrainsMono Nerd Font Mono:size=9
# font=monospace:size=8
# font-bold=<bold variant of regular font>
@ -70,27 +70,64 @@ alternate-scroll-mode=yes
[colors]
#alpha = 0.99
alpha = 0.95
background=141b1e
foreground=dadada
regular0=232a2d
regular1=e57474
regular2=8ccf7e
regular3=e5c76b
regular4=67b0e8
regular5=c47fd5
regular6=6cbfbf
regular7=b3b9b8
foreground = d8dee9
background = 2e3440
bright0=2d3437
bright1=ef7e7e
bright2=96d988
bright3=f4d67a
bright4=71baf2
bright5=ce89df
bright6=67cbe7
bright7=bdc3c2
# selection-foreground = d8dee9
# selection-background = 4c566a
regular0 = 3b4252
regular1 = bf616a
regular2 = a3be8c
regular3 = ebcb8b
regular4 = 81a1c1
regular5 = b48ead
regular6 = 88c0d0
regular7 = e5e9f0
bright0 = 4c566a
bright1 = bf616a
bright2 = a3be8c
bright3 = ebcb8b
bright4 = 81a1c1
bright5 = b48ead
bright6 = 8fbcbb
bright7 = eceff4
dim0 = 373e4d
dim1 = 94545d
dim2 = 809575
dim3 = b29e75
dim4 = 68809a
dim5 = 8c738c
dim6 = 6d96a5
dim7 = aeb3bb
#background=141b1e
#foreground=dadada
#regular0=232a2d
#regular1=e57474
#regular2=8ccf7e
#regular3=e5c76b
#regular4=67b0e8
#regular5=c47fd5
#regular6=6cbfbf
#regular7=b3b9b8
#bright0=2d3437
#bright1=ef7e7e
#bright2=96d988
#bright3=f4d67a
#bright4=71baf2
#bright5=ce89df
#bright6=67cbe7
#bright7=bdc3c2
## dimmed colors (see foot.ini(5) man page)
# dim0=<not set>

View File

@ -2,8 +2,8 @@
LocationMode=path-bar
ShowHidden=true
ShowSizeColumn=true
GeometryX=380
GeometryY=135
GeometryX=62
GeometryY=0
GeometryWidth=840
GeometryHeight=630
SortColumn=name

View File

@ -1,10 +1,10 @@
[Settings]
gtk-theme-name=Tokyonight-Dark-B
gtk-icon-theme-name=Papirus
gtk-theme-name=Nordic
gtk-icon-theme-name=Nordzy-dark
gtk-font-name=Cantarell 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-name=Nordzy-cursors-white
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR

View File

@ -45,10 +45,10 @@ general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
gaps_out = 10
border_size = 2
border_size = 3
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
col.active_border = rgb(88c0d0) 45deg
col.inactive_border = rgb(2e3440)
layout = dwindle
}
@ -141,10 +141,10 @@ bind = $mainMod ALT, J, togglesplit, # dwindle
binde= ,F2, exec, pactl set-sink-volume @DEFAULT_SINK@ -1%
binde= ,F3, exec, pactl set-sink-volume @DEFAULT_SINK@ +1%
bind = $mainMod, b, exec, foot -e bluetuith
bind = $mainMod, RETURN, exec, foot
bind = $mainMod, N, exec, nemo
bind = $mainMod, d, exec, wofi --show drun
bind = $mainMod, d, exec, wofi --show drun -I
bind = ,Print,exec,makescreenshot
# not forget install xdg-desktop-portal 1.14.6

View File

@ -1,6 +1,6 @@
preload = /home/q/Pictures/wallpapers/mountain.png
preload = /home/q/Pictures/wallpapers/nord/wallhaven-4glwwl_1920x1080.png
wallpaper = ,/home/q/Pictures/wallpapers/mountain.png
wallpaper = ,/home/q/Pictures/wallpapers/nord/wallhaven-4glwwl_1920x1080.png
#preload = /home/q/Pictures/wallpapers/catppuccin/tetris.png
#wallpaper = ,/home/q/Pictures/wallpapers/catppuccin/tetris.png

View File

@ -11,21 +11,23 @@ local ok, err = pcall(function()
-- vim.cmd('colorscheme catppuccin-macchiato')
-- vim.cmd('colorscheme aquarium')
vim.cmd('colorscheme everblush')
opt.termguicolors = true
vim.cmd('colorscheme nord')
end)
if not ok then
print(err)
end
opt.encoding = "utf-8"
opt.swapfile = false
opt.number = true
opt.relativenumber = true
vim.g.mapleader = " "
vim.g.lsp_path = os.getenv("HOME") .. "/.local/share/nvim/mason/bin/"
vim.g.mapleader = ","
opt.list = true
opt.listchars = {tab = '| '}
@ -35,9 +37,7 @@ opt.splitright = true
opt.undofile = true
opt.tabstop = 4
opt.shiftwidth = 4
opt.tabstop = 2
opt.shiftwidth = 2
opt.expandtab = true
opt.mouse = "a"
vim.g.lsp_path = os.getenv("HOME") .. "/.local/share/nvim/mason/bin/"

View File

@ -22,9 +22,10 @@ packer.startup{
}
-- Colorchemes
use 'gbprod/nord.nvim'
-- use {"catppuccin/nvim", as = "catppuccin"}
-- use {"tiagovla/tokyodark.nvim"}
use {'Everblush/everblush.nvim',as = 'everblush'}
-- use {'Everblush/everblush.nvim',as = 'everblush'}
-- use {"frenzyexists/aquarium-vim"}
-- use {"rebelot/kanagawa.nvim"}
-- use {"projekt0n/github-nvim-theme"}
@ -168,7 +169,7 @@ packer.startup{
use {
"L3MON4D3/LuaSnip",
requires = {"rafamadriz/friendly-snippets"},
config = function() require("luasnip/loaders/from_vscode").lazy_load() end
config = function() require("plugins.luasnip") end
}
use {
@ -176,8 +177,6 @@ packer.startup{
config = function() require("plugins.null-ls") end
}
use {
"SmiteshP/nvim-navic",
requires = {"neovim/nvim-lspconfig"},

View File

@ -1,17 +1,15 @@
local lsp = require_mod("lspconfig")
local mason_lsp = require_mod("mason-lspconfig")
local navic = require_mod("nvim-navic")
local sign = vim.fn.sign_define
local sign_name = {"Error","Warn","Info","Hint"}
-- Set lsp signs
for k, icon in pairs(vim.g.diagnostic_sings) do
sign("DiagnosticSign" .. sign_name[k],{text=icon,texthl="DiagnosticSign" .. sign_name[k]})
end
-- Settings diagnostics
vim.diagnostic.config {
signs = true,
underline = true,
@ -35,6 +33,8 @@ capabilities.textDocument.foldingRange = {
}
local navic = require("nvim-navic")
vim.g.lsp_capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)

View File

@ -4,10 +4,13 @@ if not ok then
return
end
cmp.setup {
mapping = {
["<Tab>"] = cmp.mapping.select_next_item(),
["<C-N>"] = cmp.mapping.select_next_item(),
["<S-Tab>"] = cmp.mapping.select_prev_item(),
["<C-P>"] = cmp.mapping.select_prev_item(),
["<C-Space>"] = cmp.mapping.complete(),
["<CR>"] = cmp.mapping.confirm({select = false}),
},
@ -43,10 +46,9 @@ cmp.setup {
},
sources = {
{name = "nvim_lsp"},
{name = "luasnip"},
{name = "emoji"},
{name = "calc"},
{ name = "nvim_lsp" },
{ name = "luasnip" },
{ name = "emoji" },
{ name = "calc" },
},
}

View File

@ -4,9 +4,9 @@ After=network-online.target
[Service]
Type=simple
EnvironmentFile=/home/q/.config/telegram-bot-api/config.env
EnvironmentFile=$HOME/.config/telegram-bot-api/config.env
WorkingDirectory=~
ExecStart=/home/q/bin/telegram-bot-api --api-id=${api_id} --api-hash=${api_hash} --local --http-stat-ip-address=${ip} --http-port=${port} --dir=/home/q/.config/telegram-bot-api/
ExecStart=telegram-bot-api --api-id=${api_id} --api-hash=${api_hash} --local --http-stat-ip-address=${ip} --http-port=${port} --dir=$HOME/.config/telegram-bot-api/
[Install]
WantedBy=multi-user.target