Skip to content

Instantly share code, notes, and snippets.

@willemw12
willemw12 / swayimg.sh
Created November 8, 2022 16:33
Swayimg: add the ability to navigate to the other images in the folder, starting at the selected image
#!/usr/bin/env bash
# Swayimg: add the ability to navigate to the other images in the folder,
# starting at the selected image or the first image by default.
#
# Links:
# https://gist.github.com/willemw12
# https://github.com/artemsen/swayimg
SWAYIMG_FIND_OPTS="${SWAYIMG_FIND_OPTS:--maxdepth 1}"
@willemw12
willemw12 / i3-resize.sh
Last active November 8, 2022 16:28
Resize i3wm/Sway window panes with the keyboard, independently of which pane has focus
#!/usr/bin/env bash
# Usage: i3-resize.sh <direction> [<px or ppt size>]
#
# For i3wm (X11) and Sway (Wayland)
#
# Resize i3wm/Sway window panes with the keyboard, independently of which pane has focus.
# This is similar to resizing with the mouse: moving left always goes left, moving down always goes down, etc.
#
# Floating windows are resized from the bottom right corner.
@willemw12
willemw12 / PKGBUILD
Created October 13, 2017 07:38
xapps-git PKGBUILD
# Maintainer: Titov Denis <kernelmd@yandex.ru>
# Contributor: willemw <willemw12@gmail.com>
_pkgname=xapps
pkgname=$_pkgname-git
pkgver=1.0.3.r19.g473400c
pkgrel=1
pkgdesc="Common library for X-Apps project"
arch=('i686' 'x86_64')
url='https://github.com/linuxmint/xapps'
@willemw12
willemw12 / sslh-git
Last active March 11, 2016 11:05
sslh-git AUR package
AUR package sslh-git based on sslh 1.17-3.
@willemw12
willemw12 / PKGBUILD
Last active September 25, 2015 08:04
mintstick-git PKGBUILD
# Maintainer: unclesam <web _AT_ shinobi-mail _DOT_ de>
# Contributor: willemw <willemw12@gmail.com>
_pkgname=mintstick
pkgname=$_pkgname-git
pkgver=r148.02589a6
pkgrel=1
pkgdesc="Format or write images to usb-sticks (Linux Mint tool)"
arch=('i686' 'x86_64')
url="https://github.com/linuxmint/mintstick"
@willemw12
willemw12 / PKGBUILD
Created April 29, 2015 13:46
marrie-git PKGBUILD
# Maintainer: Lothar_m <lothar_m at riseup dot net>
# Contributor: willemw <willemw12@gmail.com>
_pkgname=marrie
pkgname=$_pkgname-git
pkgver=0.3.2.r1.g565643e
pkgrel=3
pkgdesc="A simple podcast client that runs on the Command Line Interface."
arch=('i686' 'x86_64')
url="https://github.com/rafaelmartins/marrie"