plugfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 56b96c2f45d70e548dba0dc78d4e563d551dd239
parent dd291851a8c702ab603db7151ee3a0d3f7e7fca0
Author: nickfarrow <nicholas.w.farrow@gmail.com>
Date:   Tue,  4 May 2021 18:10:52 +1000

update scripts. remove eth from price feeds

Diffstat:
Mbin/crypto | 5+++--
Mbin/dual | 13++++++++++---
Abin/sswitch | 11+++++++++++
3 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/bin/crypto b/bin/crypto @@ -10,7 +10,8 @@ ETH=$(crypto_rate "ETH") RATIO=$(bc <<< "scale=4;$ETH/$BTC") printf "BTC:%0.0f " $BTC -printf "ETH:%0.0f " $ETH -printf "E/B:%0.3f\n" $RATIO +#printf "ETH:%0.0f " $ETH +#printf "E/B:%0.3f" $RATIO +printf "\n" #echo -e "BTC:$BTC ETH:$ETH ETH/BTC:0$RATIO" diff --git a/bin/dual b/bin/dual @@ -1,7 +1,14 @@ -#!/bin/bash +#!/bin/sh # Nick Farrow 2019 xrandr --output HDMI-0 --auto --above eDP-1-1 --auto polylaunch -cb -wal -i ~/Pictures/Wallpapers/ --saturate 0.4 -l && (cat ~/.cache/wal/sequences &) +sleep 1 +wal -i ~/Pictures/Wallpapers/ --saturate 0.4 -l #&& (cat ~/.cache/wal/sequences &) +sleep 1 +st & +pid=$! +sleep 1 +kill $pid +st & +exit 0 diff --git a/bin/sswitch b/bin/sswitch @@ -0,0 +1,11 @@ +#!/bin/sh +# Nick Farrow 2019 + +wal -i ~/Pictures/Wallpapers/ --saturate 0.4 -l && (cat ~/.cache/wal/sequences &) +sleep 1 +st & +pid=$! +sleep 1 +kill $pid +nohup st & +exit 0