Skip to content

Rational-Curiosity/Bash-Scripts

Repository files navigation

Bash Scripts

EASYFOCUS

bspwm keyboard driven window selection.

easyfocus [--emacs|-e]

Requirements

Optional (EXPERIMENTAL)

  • Emacs integration with ace-window ace-window keybinding M-o

CAPSLOCK-WARN

Bind this script to capslock key. After 5 seconds of having pressed the capslock key it alerts you if it remains locked.

capslock-warn [<seconds>]

BSPWM-ACTIONS

Rofi menu for bspwm.

bspwm-actions [resize|attribute|monitor]

COLOG

Highlight matches

colog [<color1> <pattern11> <pattern12> ...] [<color2> <pattern21> <pattern22> ...] ... 

Colors

-r|--red
-g|--green
-y|--yellow
-b|--blue
-m|--magenta
-c|--cyan

Patterns

regex patterns.

Other options

-l|--log or without arguments

Colorize ‘ERROR’ with red, ‘DEBUG’ with green, ‘WARN’ with yellow, ‘INFO’ with blue and numbers with cyan.

-s|--sensitive

Case sensitive.

Example

echo warn error debug info 10 nil | colog

MINUS

Subtract list

minus <file1> <file2>

file1

A
B
C
D

file2

A
D
$ minus file1 file2
B
C

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages