Skip to content

Instantly share code, notes, and snippets.

@techtycho
techtycho / tagswitch.md
Last active October 15, 2023 01:13
Adding Fancy Tag Switch Effects In AwesomeWM

Adding Fancy Tag Switch Effects In AwesomeWM

tagswitch

Before We Begin

First of all, you need to have AwesomeWM installed and running. I'm using awesome-git, the development release. I'm not sure whether this would work on the stable release.

@ceuk
ceuk / tag-list.lua
Created November 20, 2022 17:18
Awesome taglist
local awful = require('awful')
local beautiful = require('beautiful')
local gears = require('gears')
local wibox = require('wibox')
local taglist_buttons = require('config.mouse.taglist-buttons')
local bling = require("lib.bling") -- https://github.com/BlingCorp/bling
local rubato = require("lib.rubato") -- https://github.com/andOrlando/rubato
local transition_duration = 0.3
local dot_size = 10
import math
from moviepy.editor import concatenate, ImageClip
import os
import platform
import subprocess
import random
import torch
# pip install pytorch-pretrained-biggan
from pytorch_pretrained_biggan import (BigGAN, truncated_noise_sample, convert_to_images)
import numpy as np
@dankrause
dankrause / ssdp.py
Last active April 25, 2024 13:14
Tiny python SSDP discovery library with no external dependencies
# Copyright 2014 Dan Krause
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,