Skip to content

Instantly share code, notes, and snippets.

@tuxarch
tuxarch / user.js
Created January 8, 2022 12:37
Twersky Firefox User.JS RU
///////////////////////////////////////////////////////////////////////////////////////////////////
// ПАРАГРАФ НИЖЕ ОБЯЗАТЕЛЕН К ПРОЧТЕНИЮ!
// Данные настройки НЕ уникальны, НЕ универсальны, НЕ подходят для слишком старых
// компьютеров (без осознанной шлифовки по себя). Ими НЕ стоит пользоваться, если вы не уверены в
// своих силах и не желаете тратить время на какие-либо эксперименты. Основная цель данного
// маленького проекта - это сбор всех интересных настроек с описаниями в одном месте, чтобы каждый
// мог настроить Firefox под свои собственные требования
///////////////////////////////////////////////////////////////////////////////////////////////////
// Данный USER.JS создан Sergey Twersky для портала COMSS.ru
// Распространяется под лицензией CC BY-NC-SA -> https://creativecommons.org/licenses/by-nc-sa/3.0/
@tuxarch
tuxarch / README.md
Created November 22, 2021 16:57 — forked from sveatlo/README.md
Waybar weather module with geolocation

Waybar weather module with geolocation

This is an example set of scripts that allow me to always have weather forecast at my waybar.

Each script can be used on its own, but together they are great.

Requirements

@tuxarch
tuxarch / config.json
Created September 27, 2021 05:42 — forked from bjesus/README.md
Weather widget for waybar
"custom/weather": {
"format": "{}",
"tooltip": true,
"interval": 3600,
"exec": "waybar-wttr.py",
"return-type": "json"
},
@tuxarch
tuxarch / DI.m3u
Created February 22, 2020 04:10 — forked from RDCH106/DI.m3u
Digitally Imported premium streams
#EXTM3U
#EXTINF:-1,Digitally Imported - Ambient
http://pub1.diforfree.org:8000/di_ambient_hi
#EXTINF:-1,Digitally Imported - Big Room House
http://pub1.diforfree.org:8000/di_bigroomhouse_hi
#EXTINF:-1,Digitally Imported - Breaks
http://pub1.diforfree.org:8000/di_breaks_hi
@tuxarch
tuxarch / orphans.hook
Created November 9, 2019 13:22 — forked from Strykar/orphans.hook
Pacman post transaction hook to list/remove orphaned packages
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Searching for orphaned packages...
When = PostTransaction
@tuxarch
tuxarch / pacman-upgrades-graph.py
Created May 30, 2019 20:24 — forked from aswild/pacman-upgrades-graph.py
Script to visualize the most-upgraded packages on a pacman based system
#!/usr/bin/env python3
"""
pacman-upgrades-graph.py: a script to visualize the most-upgraded packages on an pacman-based system.
"""
import argparse, os, re, shutil, subprocess, sys
parser = argparse.ArgumentParser()
parser.add_argument('-w', '--width', type=int, default=-1,
help='Max total width of graph. Defaults to terminal size, ' +
@tuxarch
tuxarch / custom_archlinux_live_USB.md
Created April 17, 2019 13:32 — forked from satreix/custom_archlinux_live_USB.md
Custom Arch Linux live USB

Custom Arch Linux live USB

Setup

Install the dependencies for the archiso package:

(root): pacman -S make squashfs-tools libisoburn dosfstools patch lynx devtools git

I recommend archiso getting them from git, there is a package in the repositories, however, at this time of writing, it will not work with the instructions below. So, grab the most recent version from git and install it:

(user): git clone git://projects.archlinux.org/archiso.git && cd archiso

@tuxarch
tuxarch / rofi-gpaste.sh
Created November 26, 2017 17:32 — forked from tadly/rofi-gpaste.sh
rofi + gpaste
#!/usr/bin/env bash
#
# Use rofi to select an entry from gpaste
#
# Requirements:
# rofi, gpaste
#
line=`gpaste-client --oneline | rofi -dmenu -i -p gpaste: $@`
index=`echo $line | cut -d ':' -f1`
@tuxarch
tuxarch / dnscrypt-setup.sh
Created November 20, 2017 03:24 — forked from Thermionix/dnscrypt-setup.sh
quick setup for dnscrypt + dnsmasq on arch
#!/bin/bash
## chose a provider from;
# less /usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv
sudo pacman -Sy --noconfirm dnscrypt-proxy dnsmasq dnsutils
cat <<-'EOF' | sudo SYSTEMD_EDITOR=tee systemctl edit dnscrypt-proxy.service
[Service]
ExecStart=