Note : I'm assuming you have a working i3 install
sudo apt-get install \
cmake cmake-data libcairo2-dev libxcb1-dev libxcb-ewmh-dev \
libxcb-icccm4-dev libxcb-image0-dev libxcb-randr0-dev \| #!/bin/bash | |
| #-- CONFIGURATION AREA ---------------------------- | |
| # Please fill the following details, which is just | |
| # after this comment section, before running this | |
| # script. Otherwise, you can't login | |
| # | |
| # 1. GATEWAY_IP | |
| # 2. USER (Your Alliance login username) | |
| # 3. PASSWD (Your Alliance login password) |
| #!/bin/bash | |
| # path of your alacritty config file | |
| # this should be the default path | |
| FILE_LOC="/home/$USER/.config/alacritty/alacritty.yml" | |
| def_change_opacity () | |
| { | |
| delta_val="0.05" | |
| METRIC_ID="background_opacity" |
| #!/usr/bin/env python3 | |
| import time | |
| import json | |
| import requests | |
| from datetime import datetime | |
| url_str = 'http://api.skidstorm.cmcm.com/v2/rank/list/1-1/ALL' | |
| sleep_val = 30 | |
| rank_threshold = 20000 |
| import subprocess as sp | |
| import time | |
| def main(): | |
| sleep_dur = 5 | |
| test_website = 'stw.com' | |
| cmd_timeout = '5' | |
| cmd_positive_resp = 'HREF' | |
| cmd_str = 'curl %s -m %s -s' % (test_website, cmd_timeout) |