From fb16eec49620f6e52d4726d2eac28e16c2c7588f Mon Sep 17 00:00:00 2001 From: Fabio Lenherr / DashieTM Date: Wed, 4 Jan 2023 17:26:38 +0100 Subject: [PATCH] fix: use key file --- eww_laptop/scripts/weather | 4 ++-- nvim/lua/settings/lsp.lua | 1 + nvim/lua/settings/plugins.lua | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/eww_laptop/scripts/weather b/eww_laptop/scripts/weather index a9a78d0..69c277d 100755 --- a/eww_laptop/scripts/weather +++ b/eww_laptop/scripts/weather @@ -15,8 +15,8 @@ fi # If you dunno, head to openweathermap.org, and make and account #(completely free I swear, and then get your API Key and your City ID) # I wish I was smart enough to do it like Elena, but this is the top I could do lol -KEY="{c4dcb6a002f5ce51f7e48c430ebe480d}" -ID="{3042030}" +KEY=$(cat $HOME/.ssh/weather-key) +ID=$(cat $HOME/.ssh/location) UNIT="{metric}" #Options are 'metric' and 'imperial' weather=$(curl -sf "http://api.openweathermap.org/data/2.5/weather?APPID="$KEY"&id="$ID"&units="$UNIT"") echo $weather diff --git a/nvim/lua/settings/lsp.lua b/nvim/lua/settings/lsp.lua index f59a8ae..f93d10d 100644 --- a/nvim/lua/settings/lsp.lua +++ b/nvim/lua/settings/lsp.lua @@ -26,6 +26,7 @@ require("mason-lspconfig").setup({ "bashls", -- shell "ansiblels", -- ansible "marksman", -- markdown + "asm_lsp", -- assembly }, automatic_installation = true, }) diff --git a/nvim/lua/settings/plugins.lua b/nvim/lua/settings/plugins.lua index 02decc0..84c4813 100644 --- a/nvim/lua/settings/plugins.lua +++ b/nvim/lua/settings/plugins.lua @@ -46,5 +46,6 @@ Plug('nvim-telescope/telescope-project.nvim') -- telescope projects Plug 'folke/trouble.nvim' -- provides warning/error explanation tab Plug("iamcco/markdown-preview.nvim", -- markdown preview { ["do"] = "cd app && yarn install" }) +Plug('preservim/tagbar') -- tags on the right vim.call("plug#end")