arnaucube
arnaucube/configsPublic Self-hosted repository
Add nvim Sage syntax highligting & minor updates

- Add nvim Sage syntax highligting
- Update installer node for v16
- Update i3 config to restart status bar to avoid problems when
extending screens to hdmi
arnaucube root@arnaucube.com
Wed, 08 Dec 2021 16:31:06 +0100
commit

045df5631c7c2860aeec8d409dd57be429dc5ba5

parent

5ee21b885e8561da7b997f58f8dc31789fed7867

3 files changed, 10 insertions(+), 2 deletions(-)

jump to
M bin/screens → bin/screens

@@ -29,3 +29,6 @@ print("4k")

# xrandr --output HDMI-2 --mode 3840x2160 subprocess.run(["xrandr", "--output", d[1], "--mode", "3840x2160"]) + # restart i3 status bar to avoid being frozen + subprocess.run(["i3-msg", "restart"]) +
M init.vim → init.vim

@@ -179,6 +179,11 @@ "" circom syntax

au BufRead,BufNewFile *.circom set filetype=circom au BufRead,BufNewFile *.circuit set filetype=go-snark-circuit +"" sage syntax +augroup filetypedetect + au! BufRead,BufNewFile *.sage,*.spyx,*.pyx setfiletype python +augroup END + " for file watching set backupcopy=yes
M install-new-server.sh → install-new-server.sh

@@ -51,8 +51,8 @@ wget https://golang.org/dl/go1.17.1.linux-amd64.tar.gz

tar -C /usr/local -xzf go1.17.1.linux-amd64.tar.gz # nodejs -echo "installing nodejs v14" -curl -sL https://deb.nodesource.com/setup_14.x | bash - +echo "installing nodejs v16" +curl -sL https://deb.nodesource.com/setup_16.x | bash - apt-get install -y nodejs echo "installing npm http-server"