Skip to content

Instantly share code, notes, and snippets.

View Ovyerus's full-sized avatar

Ashlynne Mitchell Ovyerus

View GitHub Profile
@Ovyerus
Ovyerus / profile.ps1
Created April 1, 2022 05:47
epic powershell prompt
set-psreadlineoption -predictionsource history
$asciiSymbols = $false # If your terminal doesn't display unicode properly
$esc = [char]27
$r = "$esc[0m"
$symbols = @{
pathOpen = if (!$asciiSymbols) { "⌈" } else { "[" };
pathClose = if (!$asciiSymbols) { "⌋" } else { "]" };
timeOpen = if (!$asciiSymbols) { "⌊" } else { "[" };
@Ovyerus
Ovyerus / The Ultimate Naming Script.ptsp
Created August 23, 2022 12:25
The best Picard naming format
title: The Ultimate Naming Script
description: ""
author: ''
license: ''
version: ''
last_updated: 2022-03-03 13:29:23 UTC
script_language_version: '1.1'
script: |
$if($gt(%totaltracks%,1),%albumartist% - %album%/,)
$if($gt(%totaltracks%,1),$if($gt(%totaldiscs%,1),%discnumber%-,)$num(%tracknumber%, 2),) %artist% - %title%
@Ovyerus
Ovyerus / skhdrc
Created January 23, 2023 03:59
macOS wm dots
# Move/swap windows
meh - w : yabai -m window --swap north
meh - a : yabai -m window --swap west
meh - r : yabai -m window --swap south
meh - s : yabai -m window --swap east
hyper - w : yabai -m window --warp north
hyper - a : yabai -m window --warp west
hyper - r : yabai -m window --warp south
hyper - s : yabai -m window --warp east