From 51aeebabcd20af052f87a7c1d7b76c897c598584 Mon Sep 17 00:00:00 2001 From: Marat Date: Fri, 18 Apr 2025 23:51:54 +0600 Subject: [PATCH] update --- .../dots/files/config/nvim/lua/some/lazy.lua | 18 +++++++++++ .../dots/files/config/nvim/lua/some/theme.lua | 9 +++++- roles/dots/files/home/bin/monitor.sh | 31 +++++++++++++++++++ roles/packages/tasks/aur.yml | 5 ++- 4 files changed, 61 insertions(+), 2 deletions(-) create mode 100755 roles/dots/files/home/bin/monitor.sh diff --git a/roles/dots/files/config/nvim/lua/some/lazy.lua b/roles/dots/files/config/nvim/lua/some/lazy.lua index a1051f5..9487d27 100644 --- a/roles/dots/files/config/nvim/lua/some/lazy.lua +++ b/roles/dots/files/config/nvim/lua/some/lazy.lua @@ -15,6 +15,24 @@ vim.opt.rtp:prepend(lazypath) require("lazy").setup({ -- theme "navarasu/onedark.nvim", + "folke/tokyonight.nvim", + "shaunsingh/nord.nvim", + "morhetz/gruvbox", + "ellisonleao/gruvbox.nvim", + "Mofiqul/dracula.nvim", + "sainnhe/everforest", + "catppuccin/nvim", + "bluz71/vim-nightfly-colors", + "NTBBloodbath/doom-one.nvim", + "metalelf0/base16-black-metal-scheme", + "EdenEast/nightfox.nvim", + "ayu-theme/ayu-vim", + "Shatur/neovim-ayu", + "lunacookies/vim-colors-xcode", + "chriskempson/vim-tomorrow-theme", + "maxmx03/solarized.nvim", + "antonk52/lake.nvim", + "cocopon/iceberg.vim", "nvim-treesitter/nvim-treesitter", "folke/tokyonight.nvim", diff --git a/roles/dots/files/config/nvim/lua/some/theme.lua b/roles/dots/files/config/nvim/lua/some/theme.lua index 9fed186..3143ca6 100644 --- a/roles/dots/files/config/nvim/lua/some/theme.lua +++ b/roles/dots/files/config/nvim/lua/some/theme.lua @@ -1,3 +1,10 @@ vim.o.background = 'dark' -- 'dark' or 'light' -vim.cmd[[colorscheme onedark]] +-- vim.cmd[[colorscheme onedark]] +vim.cmd[[colorscheme gruvbox]] + +-- цвет номеров строк vim.cmd('hi linenr guifg=white') + +-- vim.cmd('highlight Normal guibg=#000000 ctermbg=black') +-- vim.api.nvim_set_hl(0, 'CursorLine', { underline = true }) +-- vim.cmd('highlight Normal guibg=none ctermbg=none') diff --git a/roles/dots/files/home/bin/monitor.sh b/roles/dots/files/home/bin/monitor.sh new file mode 100755 index 0000000..e1c9270 --- /dev/null +++ b/roles/dots/files/home/bin/monitor.sh @@ -0,0 +1,31 @@ +#!/bin/bash + + + +if [ $1 == 'help' ]; +then + echo "l, laptop"; + echo "r, to_right"; + echo "b, to_bottom"; + echo "h, dhmi"; +fi + +if [ $1 == 'laptop' ] || [ $1 == 'l' ]; +then + xrandr --output eDP1 --mode 1920x1080 --rate 60 +fi + +if [ $1 == 'to_right' ] || [ $1 == 'r' ]; +then + xrandr --output HDMI1 --mode 3840x2160 --output eDP1 --mode 1920x1080 --rate 60 --right-of HDMI1 +fi + +if [ $1 == 'to_bottom' ] || [ $1 == 'b' ]; +then + xrandr --output HDMI1 --mode 3840x2160 --output eDP1 --mode 1920x1080 --rate 60 --below HDMI1 +fi + +if [ $1 == 'hdmi' ] || [ $1 == 'h' ]; +then + xrandr --output HDMI1 --mode 3840x2160 --output eDP1 --off +fi diff --git a/roles/packages/tasks/aur.yml b/roles/packages/tasks/aur.yml index f0b0ab5..00fcfa2 100644 --- a/roles/packages/tasks/aur.yml +++ b/roles/packages/tasks/aur.yml @@ -3,5 +3,8 @@ name: "{{ item }}" user: "{{ main_user.name }}" loop: - # - vimiv-qt - ttf-devicons + # -nwg-displays + # -postman-bin + # -netbird + # -k6