Skip to content

Instantly share code, notes, and snippets.

@ashish-kus
ashish-kus / hyprlock.conf
Last active January 22, 2026 13:48
minimal Hyprlock
$hypr = ~/.config/hypr
source = $hypr/colors.conf # for custom color
# GENERAL
general {
no_fade_in = true
grace = 1
disable_loading_bar = false
hide_cursor = true
ignore_empty_input = true
@bpanthi977
bpanthi977 / rclone-exclude.py
Last active May 14, 2025 20:41
Create rclone --exclude-from list by recursively visting .gitignore files
#!/usr/bin/env python
import os
import subprocess
def append_parentpath(path, ignore_string):
return [path + '/' + line for line in ignore_string.splitlines()]
def traverse_and_generate(path, printpath=""):
dirs = os.listdir(path)
if '.git' in dirs: