This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:00:00.000 [INFO] [sway/main.c:295] Sway version 1.10 | |
00:00:00.000 [INFO] [sway/main.c:296] wlroots version 0.18.1 | |
00:00:00.004 [INFO] [sway/main.c:81] Linux achar-void 6.6.62_1 #1 SMP PREEMPT_DYNAMIC Wed Nov 20 01:02:07 UTC 2024 x86_64 GNU/Linux | |
00:00:00.004 [INFO] [sway/main.c:97] Contents of /etc/os-release: | |
00:00:00.004 [INFO] [sway/main.c:81] NAME="Void" | |
00:00:00.004 [INFO] [sway/main.c:81] ID="void" | |
00:00:00.004 [INFO] [sway/main.c:81] PRETTY_NAME="Void Linux" | |
00:00:00.004 [INFO] [sway/main.c:81] HOME_URL="https://voidlinux.org/" | |
00:00:00.004 [INFO] [sway/main.c:81] DOCUMENTATION_URL="https://docs.voidlinux.org/" | |
00:00:00.004 [INFO] [sway/main.c:81] LOGO="void-logo" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
command -v jq >/dev/null 2>&1 || { echo >&2 "Program 'jq' required but it is not installed. Aborting."; exit 1; } | |
command -v wget >/dev/null 2>&1 || { echo >&2 "Program 'wget' required but is not installed. Aborting."; exit 1; } | |
# customisation: | |
BOM_PRODUCT="IDQ60901/IDQ60901.94576.json" # Brisbane | |
APIKEY="b0aa21c8ed417b979ce80f63faf0ad69" | |
CITY_ID="2174003" # Brisbane, Aus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# lives at: https://gist.github.com/bhepple/5c43e83e945a42297ba6433ee8ba88ce | |
# derived from: https://github.com/benkaiser/i3-wm-config | |
# $0 x y width height (-1 for unchanged) | |
import subprocess | |
import sys | |
import json |