diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 08acf7b..cbf5f14 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -1,3 +1,13 @@ +" Check if vim-plug is not installed +if empty(glob('~/.local/share/nvim/site/autoload/plug.vim')) + " Display a message to the user + echo "Installing vim-plug..." + " Run the installation command + call system('sh -c ''curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim''') + " Display a message to inform the user that the installation has completed + echo "vim-plug installed successfully. Please restart Neovim." +endif + call plug#begin('~/.config/nvim/plugged') " Add your plugins here, for example: diff --git a/.config/picom.conf b/.config/picom.conf deleted file mode 120000 index ede6123..0000000 --- a/.config/picom.conf +++ /dev/null @@ -1 +0,0 @@ -picom.conf##class.arch_desktop \ No newline at end of file diff --git a/.config/polybar/config.ini##class.arch_work_desktop b/.config/polybar/config.ini##class.arch_work_desktop index 1c7fef8..ece05dd 100644 --- a/.config/polybar/config.ini##class.arch_work_desktop +++ b/.config/polybar/config.ini##class.arch_work_desktop @@ -65,7 +65,7 @@ fixed-center = true ; the percentage can optionally be extended with a pixel offset like so: ; 50%:-10, this will result in a width or height of 50% minus 10 pixels width = 100% -height = 46 +height = 20 ; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) ; the percentage can optionally be extended with a pixel offset like so: @@ -135,9 +135,9 @@ module-margin-right = 1 ;;font-0 = "Misc Termsyn:size=12;1" ;;font-1 = "Wuncon Siji:size=12;1" -font-0 = "MesloLGS NF:size=20;2" -font-1 = "icomoon\-feather:size=23;2" -font-2 = "xos4 Terminus:size=22;1" +font-0 = "MesloLGS NF:size=10;2" +font-1 = "icomoon\-feather:size=13;2" +font-2 = "xos4 Terminus:size=12;1" ; Modules are added to one of the available blocks ; modules-left = cpu ram