budlabs

channel image

budlabs

budlabs

subscribers

echo -en "\e[2;5HApple did nothing wrong"

block=$(figlet block)

termnial_width=$(tput cols)
termnial_height=$(tput lines)
block_width=$(echo "$block" | wc -L)
block_height=$(echo "$block" | wc -l)

blank_columns=$((terminal_width - block_width))
blank_lines=$((terminal_height - block_height))

hpad=$(printf "s$((blank_columns / 2))s" " ")
vpad=$(printf "s$((blank_lines / 2))s" " ")
vpad=${vpad// /$'\n'}

block=$(echo "$block" | sed "s/^/${hpad}/g")

clear

printf '%s' "$vpad" "$block" "$vpad"

https://i3wm.org/downloads/RELEASE-NOTES-4.18.txt

https://old.reddit.com/r/i3wm/comments/epyxr3/i_just_figured_out_how_to_do_windowspecific_key/
https://github.com/i3/i3/issues/3903
https://github.com/budlabs/i3ass/wiki/10AS_i3flip

bindsym Mod4+Tab \
[con_id=__focused__ class="^(?!Sublime_text)"] \
exec --no-startup-id notify-send "you pressed not in sublime" ;\
[con_id=__focused__ class="Sublime_text"] \
exec --no-startup-id notify-send "you pressed in sublime"

add this to .bashrc :

con() {

# con OLD NEW
# replaces OLD with NEW in the current directory
# and tries to cd into it.

cd "${PWD/$1/$2}" || return 1
}

cwd='\w'
echo "${cwd@P}"

same thing as:

echo "${PWD/~/'~'}"

the latter has some minor cornercase flaws:
(if ~ = /home/bud ; PWD = /home/bud1/bin ; "${PWD/~/'~'}" = ~1/bin.
https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html

https://fossbytes.com/gnu-bash-4-4-released-new-features-changes/

bwp - a CLI wallpaper selector
available on GitHub and AUR
https://github.com/budlabs/bwp

featuring "hardcoded windows screen pointer" (more or less)
password: dt

convert "PATH_TO_IMAGE.JPG" RGB:- | i3lock \
--raw "$(get_geometry)":rgb \
--image /dev/stdin

it's just a default

SHOW MORE

Created 5 years ago.

52 videos

Category Science & Technology

I use i3 to customize i3 to suit my workflow for customizing i3 so I easier can customize i3 to... I AM NOT WASTING MY TIME, my workflow is EFFICIENT god dammit! whatever..