summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-01-09 00:34:09 +0100
committermakefu <github@syntax-fehler.de>2023-01-09 00:34:09 +0100
commit1929733c03dbff92f830cb81b57cf4ccf859d364 (patch)
tree87446e773d759b130949369db89cdcb3e27522be /makefu
parent5f6517df30c94929044ae686e547b178e75cf621 (diff)
ma ham: enable more weather services
Diffstat (limited to 'makefu')
-rw-r--r--makefu/2configs/editor/vim.nix3
-rw-r--r--makefu/2configs/editor/vimrc6
-rw-r--r--makefu/2configs/home/ham/sensor/outside.nix14
3 files changed, 21 insertions, 2 deletions
diff --git a/makefu/2configs/editor/vim.nix b/makefu/2configs/editor/vim.nix
index b37f2409a..f53be58ff 100644
--- a/makefu/2configs/editor/vim.nix
+++ b/makefu/2configs/editor/vim.nix
@@ -11,7 +11,8 @@
"YouCompleteMe"
#"UltiSnips"
# vim-nix handles indentation better but does not perform sanity
- "vim-addon-nix"
+ "vim-nix"
+ # "vim-addon-nix"
"vim-better-whitespace"
];
};
diff --git a/makefu/2configs/editor/vimrc b/makefu/2configs/editor/vimrc
index 309e81a05..e24d29974 100644
--- a/makefu/2configs/editor/vimrc
+++ b/makefu/2configs/editor/vimrc
@@ -7,7 +7,7 @@ set listchars=tab:▸\
filetype off
filetype plugin indent on
-colorscheme darkblue
+colorscheme desert
set background=dark
set number
@@ -49,6 +49,10 @@ set matchtime=3
set hlsearch
autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red
+hi MatchParen cterm=none ctermbg=green ctermfg=blue
+
+let g:better_whitespace_enabled=1
+let g:strip_whitespace_on_save=1
" save on focus lost
diff --git a/makefu/2configs/home/ham/sensor/outside.nix b/makefu/2configs/home/ham/sensor/outside.nix
index d05e8a1f6..e7467617b 100644
--- a/makefu/2configs/home/ham/sensor/outside.nix
+++ b/makefu/2configs/home/ham/sensor/outside.nix
@@ -26,5 +26,19 @@
{
platform = "met";
}
+ {
+ platform = "openweathermap";
+ api_key = "!secret openweathermap";
+ language = "de";
+ mode = "hourly";
+ }
+ {
+ platform = "tomorrowio";
+ api_key = "!secret tomorrowio";
+ }
+ { platform = "octoprint"; }
+ { platform = "accuweather";
+ api_key = "!secret accuweather";
+ }
];
}