VSCode init

This commit is contained in:
2025-12-07 16:10:00 -05:00
parent 13ab26afd9
commit 7c55fe9d22
13 changed files with 407 additions and 33 deletions

View File

@@ -65,7 +65,7 @@ interval=60
[calendar]
interval=1
label=
#label=
# DATEFMT=+%H:%M.%a-%m-%d
# DATEFMT=+%H:%M
#DATEFMT=+%H:%M

View File

@@ -30,17 +30,12 @@ color=#cbe4ff
# TICKER=ARBUSD
# interval=30
# [ticker]
# label=ETH
# TICKER=ETH-USD
# interval=30
[dexscreener]
label=HERO
#CHAIN=solana
#PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
command=/home/kevin/.config/i3blocks/scripts/dexscreener abstract 0x3771b51b5a705338fa19702f249afcaa94b0cd8c
interval=5
#[dexscreener]
#label=HERO
##CHAIN=solana
##PAIR=B4Vwozy1FGtp8SELXSXydWSzavPUGnJ77DURV2k4MhUV
#command=/home/kevin/.config/i3blocks/scripts/dexscreener abstract 0x3771b51b5a705338fa19702f249afcaa94b0cd8c
#interval=5
#[kraken]
#label=BTC
@@ -49,11 +44,11 @@ interval=5
#command=/home/kevin/.config/i3blocks/scripts/kraken BTCUSDC
#interval=30
#[kraken]
#label=ETH
##TICKER=ETHUSDC
#command=/home/kevin/.config/i3blocks/scripts/kraken ETHUSDC
#interval=30
[kraken]
label=ETH
#TICKER=ETHUSDC
command=/home/kevin/.config/i3blocks/scripts/kraken ETHUSDC
interval=30
## [ticker]
## label=btc
@@ -178,7 +173,7 @@ interval=5
[calendar]
interval=1
label=
#label=
# DATEFMT=+%H:%M
# DATEFMT=+%H:%M.%a-%m-%d
# SHORTFMT=+%H:%M:%S

View File

@@ -1,6 +1,21 @@
#!/bin/bash
. "/home/kevin/.cache/wal/colors.sh"
printf "$(date '+%H:%M.%a-%m-%d')\n\n%s\n" "$color7"
#. "/home/kevin/.cache/wal/colors.sh"
#printf "$(date '+%H:%M.%a-%m-%d')\n\n%s\n" "$color7"
# echo "<span foreground=\"%s\">$(date '+%H:%M.%a-%m-%d')%s</span>" "$color2"
# printf "%s" "$color2"
# Load colors from pywal cache
. "/home/kevin/.cache/wal/colors.sh"
# Define the date format matching the output in your screenshot (e.g., Sat 12/06 12:46)
DATE_FORMAT='+%a %m/%d %H:%M'
# Use Pango markup to wrap the entire string, applying the color,
# and explicitly defining the icon () and the date output.
# The icon is U+F017.
printf "<span foreground=\"%s\"> %s</span>\n" "$color7" "$(date "$DATE_FORMAT")"
# The next two lines are optional for i3blocks but usually required for color output:
printf "\n" # Short text (optional)
printf "%s\n" "$color7" # Color (optional, but good practice)