Skip to content

Instantly share code, notes, and snippets.

View n0tty's full-sized avatar
🎯
Focusing

Tanoy Bose n0tty

🎯
Focusing
View GitHub Profile
@n0tty
n0tty / ergoConnect.sh
Last active October 12, 2020 18:48
Bash script for connecting MXErgo on Arch linux. Small script meant for helping setup my arch linux installations.
#!/bin/bash
bluetooth_mac="MAC Address of your bluetooth mouse. Mine is a MX Ergo"
if [ ! -f /usr/bin/bluetoothctl ]; then
sudo pacman -S bluez-utils bluez
fi
systemctl is-active --quiet bluetooth || sudo systemctl start bluetooth
#Uncomment if you want to turn on bluetooth everytime your system turns on
@n0tty
n0tty / oh-my-zsh-powerlevel9k-theme.md
Created October 25, 2019 13:56 — forked from android10/oh-my-zsh-powerlevel9k-theme.md
oh-my-zsh with PowerLevel9k on Arch Linux

Install oh-my-zsh with powerlevel9k theme on Arch Linux

This gist aims to facilitate the switching from bash to zsh as our defaut shell. We will be using oh-my-zsh with the powerful theme: Powerlevel9k. You will find all the links below. This process applies mainly for Arch Linux, but can be setup for any other distro (in theory :)). I'm also using Gnome Terminal and pacaur as package manager.

Resources

@n0tty
n0tty / teensyduino.sh
Created October 26, 2018 15:42
teensyduino.sh fix
#!/bin/bash
sleep 2
export HOME=$2
$1 &
sleep 5
xdotool search --class "teensyduino" \
windowfocus \