Skip to content

Instantly share code, notes, and snippets.

@Axioms
Axioms / axiom.zsh-theme
Last active March 14, 2022 18:20
My zsh theme
current_time() {
echo "%{$FG[007]%}%D{%H:%M:%S}%f"
}
status() {
echo "%(?.%{$FG[012]%}✔%f.%{$fg[red]%}✘%f)"
}
username() {
if [[ $UID == 0 || $EUID == 0 ]]
@Axioms
Axioms / .zshrc
Last active March 12, 2022 19:59
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Change Man pager
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# Change directory file colors
export LS_COLORS="$(vivid generate snazzy)"
@Axioms
Axioms / archtweaks.md
Last active April 17, 2022 21:09 — forked from lbrame/archtweaks.md
Tweaks I've made to my Arch Linux installation

Arch Linux tweaks

This is a collection of the tweaks and modification I've made to my Arch Linux installation over the months. These may be applicable to other distros, but please check first before doing anything. I also included Arch Wiki references for all the procedures I mentioned. My recommendation is not to blindly follow this gist but to always check with the Arch Linux wiki first. Things move fast and by the time you're reading this my gist may be out of date. Lastly, the golden rule: never execute a command you don't understand.

Installing the KDE Plasma desktop

My current DE of choice is KDE's Plasma. I find it just about perfect.

There are various ways to install it on Arch. The most popular one is to install plasma and plasma-applications, but I don't like doing that because it comes with too many programs I'll never use. I, instead, install the base plasma group, remove the few extra packages that come with it, then I finish off by installing a few KDE apps that don't come with th

@Axioms
Axioms / Breeze Dark Transparent.colors
Created September 1, 2022 22:46
Breeze Dark Transparent.colors
[ColorEffects:Disabled]
Color=56,56,56
ColorAmount=0
ColorEffect=0
ContrastAmount=0.65
ContrastEffect=1
IntensityAmount=0.1
IntensityEffect=2
[ColorEffects:Inactive]
stackoverflow.com
serverfault.com
superuser.com
mathoverflow.net
doctype.com
howtogeek.com
amazon.com
ansible.com
*.ansible.com
leetcode.com