⚡ new laptop and clean up
- instead of vifm use bash and dolphin
This commit is contained in:
@@ -273,7 +273,7 @@ async function fetchRelease({ repository, tag_name_regex }, cache){
|
||||
const headers= { 'User-Agent': 'node' };
|
||||
if(cache==="no") headers['Cache-Control'] = 'no-cache';
|
||||
const url= urls_api[url_api]+repository+"/releases";
|
||||
const releases= await fetch(url, { headers }).then(res=> res.json());
|
||||
const releases= await fetch(url, { headers, redirect: "follow" }).then(res=> res.json());
|
||||
if(releases.message) return $.error(url+": "+releases.message);
|
||||
|
||||
if(url.includes("github.com"))
|
||||
|
@@ -13,7 +13,7 @@ desktops()
|
||||
});
|
||||
JS
|
||||
nm-online -x -q && \
|
||||
node "/home/jaandrle/.nvm/versions/node/$(node --version)/bin/nodejsscript" /home/jaandrle/bin/§wallpaper_WCPOTD.mjs pull && \
|
||||
node "/home/jaandrle/.nvm/versions/node/$(node --version)/bin/nodejsscript" /home/jaandrle/.local/bin/§wallpaper_WCPOTD.mjs pull && \
|
||||
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript "$JS"
|
||||
# plasma-apply-wallpaperimage '/home/jaandrle/Obrázky/Bing Image Of The Day/now.jpg' && plasma-apply-wallpaperimage '/home/jaandrle/Obrázky/Bing Image Of The Day/horizontally.jpg'
|
||||
# cd "/home/jaandrle/Obrázky/Bing Image Of The Day" && \
|
||||
|
Reference in New Issue
Block a user