Merge branch 'master' into laptop

This commit is contained in:
Thomas Avé 2023-09-06 16:29:27 +02:00
commit ca7c32ce13
11 changed files with 121 additions and 122 deletions

View File

@ -22,7 +22,6 @@ require("awful.autofocus")
-- List of apps to run on start-up
local run_on_start_up = {
"numlockx on",
"nm-applet",
"xcape -e \"Super_L=Super_L|XF86Launch5\" -t 5000",
"xmodmap /home/user/.Xmodmap",
"feh --no-fehbg --bg-fill " .. gears.filesystem.get_configuration_dir() .. "/images/wallpaper.png",

View File

@ -39,14 +39,14 @@ fi
if $NVIM; then
dependencies="neovim git unzip fzf cmake gcc make curl wget"
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
$SUDO pacman -Sy --needed --noconfirm $dependencies npm
$SUDO pacman -Sy --needed --noconfirm $dependencies npm go
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
$SUDO apt update
$SUDO apt install -y software-properties-common
$SUDO add-apt-repository ppa:neovim-ppa/unstable -y
$SUDO curl -sL https://deb.nodesource.com/setup_20.x | $SUDO bash -
$SUDO apt update
$SUDO apt install -y $dependencies python3-venv nodejs
$SUDO apt install -y $dependencies python3-venv nodejs golang
fi
ln -s $PWD/nvim $XDG_CONFIG_HOME/nvim