Skip to content

Instantly share code, notes, and snippets.

@budRich
budRich / i3ass-drr
Created March 22, 2017 21:57
A small script that runs/activate or hide target window in i3
#!/bin/bash
#
# i3ass-drr -n "name" -c "class" -i "instance/classname" -m "mark" -r "command"
while getopts c:n:r:i:m: option
do
case "${option}"
in
c) aSrch=("${aSrch[@]}" --class "${OPTARG}");;
@budRich
budRich / i3ass-mi
Last active April 12, 2017 17:49
A script to assist the daily use of the windowmanager known as i3
#!/bin/bash
#
# i3ass-mio
# ctrl+c & ctrl+v by budRich, 2017
#
# flag | description | options
# -------------------------------------------------------
# -n | "name" | string
# -c | "class" | string
# -i | "instance/classname" | string
/*
▄▄▄▄▄ ·▄▄▄▄ ▪
•██ ▪ ▪ ██▪ ██ ██
▐█.▪ ▄█▀▄ ▄█▀▄ ▐█· ▐█▌▐█·
▐█▌·▐█▌.▐▌▐█▌.▐▌██. ██ ▐█▌
▀▀▀ ▀█▄▀▪ ▀█▄▀▪▀▀▀▀▀• ▀▀▀
Run script to display a popup menu with
8 days. (yesterday + 1 week).
#SingleInstance force
#NoEnv
#Persistent
SetBatchLines, -1
SetControlDelay, -1
SetWinDelay, -1
ListLines, Off
SetWorkingDir, %A_ScriptDir%
DetectHiddenWindows, Off
#SingleInstance, force
/*
## UrlList by budRich 2015
## -----------------------
## This script adds a hotstring (_url) that trigger
## a menu with the 10 most recent links from irc.
##
## All you need is irssi and the script urlgrab.pl ;)
## Change fUrlLog to your liking.
/*
Filleluring
Filemanager
by: budRich
*/
#Persistent
#SingleInstance, Force
/*
## JpgKeepa - Search a folder and delete all files that isn't a jpg.
##
## Scripted by: budRich
## Updated: 2013-09-29
*/
Init()
if (!FileExist(fpkst) && !cmd)
/*
## pngKeepa - Search a folder and delete all files that isn't a png.
##
## Scripted by: budRich
## Updated: 2013-09-21
*/
Init()
if (!FileExist(fpkst) && !cmd)
/*
## oMen - Your new favourite menu
##
## Launch oMen without parameters to show the
## menu at mouse position. Pass two integers as parameters
## to show the menu at a fixed x y position. Pass a file or
## folder as a parameter to add it to the menu.
##
## Scripted by: budRich
## Updated: 2013-09-23
/*
## NexusFolder.ahk
##
## Switch default filemanager by launching this script without
## commandline parameters. If you send a file or folder as a
## parameter, the folder will open in NexusFile.
##
## Script by budRich 2013
*/