Skip to content

Instantly share code, notes, and snippets.

View polkaulfield's full-sized avatar

polkaulfield polkaulfield

View GitHub Profile
// ==WindhawkMod==
// @id icon-changer-alpha
// @name icon-changer-alpha
// @description Testing changing icons in memory
// @version 0.1
// @author You
// @github https://github.com/nat
// @twitter https://twitter.com/jack
// @homepage https://your-personal-homepage.example.com/
// @include explorer.exe
@polkaulfield
polkaulfield / README.md
Last active February 24, 2024 18:25
In Progress Sideloading, Privacy and Tweaks guide for iOS
@polkaulfield
polkaulfield / recolor.py
Last active October 1, 2023 14:16
recolor.py
#!/usr/bin/python3
import sys, re, os, shutil, colorsys
home_dir = os.path.expanduser('~') + "/"
icon_theme_dir = home_dir + ".local/share/icons/Adwaita-Colored-Folders/"
repo_name = "adwaita-icon-theme"
icon_repo = "https://gitlab.gnome.org/GNOME/" + repo_name
sudo systemctl --global mask tracker-miner-fs-3.service
sudo systemctl --global mask tracker-xdg-portal-3.service
MemTotal: 32820232 kB
MemFree: 26634652 kB
MemAvailable: 29249904 kB
Buffers: 202184 kB
Cached: 2736496 kB
SwapCached: 0 kB
Active: 3533928 kB
Inactive: 1851620 kB
Active(anon): 2247768 kB
Inactive(anon): 334556 kB
@polkaulfield
polkaulfield / flatpak.spec
Created November 3, 2022 17:20
flatpak.spec file to create a flatpak 1.15 rpm
%global appstream_version 0.15.3
%global bubblewrap_version 0.5.0
%global glib_version 2.46.0
%global libcurl_version 7.29.0
%global ostree_version 2020.8
%global current_version 1.14.0
Name: flatpak
Version: 1.15.0
Release: 2%{?dist}
#!/bin/sh
use_compositing() {
xfconf-query --channel=xfwm4 --property=/general/use_compositing $1
}
if [ $(use_compositing) == true ]; then
use_compositing --set=false
else
use_compositing --set=true
@polkaulfield
polkaulfield / .zpreztorc
Created November 2, 2022 19:03
.zpreztorc
#
# Sets Prezto options.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
#
# General
#
#!/bin/bash
# Config
KEYMAP=es
LANG=en_US.UTF-8
REGION=Europe/Madrid
HOSTNAME=ryzen
USER=absurd
DISK=$1
KERNEL=linux-zen
#!/bin/bash
theme_path="./theme/"
overrides_path="./overrides/"
gresource_path="/usr/share/gnome-shell/gnome-shell-theme.gresource"
xml_name="gnome-shell-theme.gresource.xml"
gresource_name="gnome-shell-theme.gresource"
extract_gresource () {
for r in `gresource list $1`; do