Skip to content

Instantly share code, notes, and snippets.

View Phillezi's full-sized avatar

Philip Zingmark Phillezi

View GitHub Profile
@Phillezi
Phillezi / boottimereducer.sh
Created October 2, 2025 15:57
Small bash script that helps you reduce boot time with systemd tools
#!/usr/bin/env bash
# =====================
# Colorized logging
# =====================
RED="\e[31m"
YELLOW="\e[33m"
GREEN="\e[32m"
BLUE="\e[34m"
GRAY="\e[90m"
@Phillezi
Phillezi / docker-cleaner.sh
Created May 21, 2025 13:40
A script to clean up docker stuff
#!/usr/bin/env bash
###################
# ABOUT #
###################
# This script performs cleanup tasks for Docker.
# You can run it manually or schedule it as a cron job
# to periodically remove unused Docker resources.
# NOTE: this removes buildcache too.
@Phillezi
Phillezi / set-best-res.sh
Last active February 24, 2025 01:58
Find and set the "best" mode for all output displays on wayland using wlr-randr
#!/bin/env sh
# Small script to detect and set the best resolution and refresh rate
# on wayland using wlr-randr.
RED="\e[31m"
YELLOW="\e[33m"
GREEN="\e[32m"
BLUE="\e[34m"
RESET="\e[0m"