Skip to content

Instantly share code, notes, and snippets.

@ondt
ondt / autolayout.sh
Last active April 20, 2020 00:23
A script that switches keyboard layouts automatically based on the X window title
#!/bin/bash
# for xtitle to work properly
sleep 0.5
layout="us"
xtitle -s -f '%s\n' | while read window_title; do
case $window_title in
@ondt
ondt / install-laptop.sh
Last active February 6, 2021 02:44
Blbuntu installation scripts
#!/bin/bash
# install Ubuntu (full install install)
# --> full install
# --> no swap
# setup wifi
# mount /data
gnome-disks
@ondt
ondt / exacerbation.py
Last active November 17, 2023 14:26
Aliases for `exa`
#!/usr/bin/env python
cmd = "eza"
# cmd = "exa"
ordering = [
('', ' '),
('r', '--reverse'),
]
sorting = [