I need extremely small tiling windows, say something with only a width/height of 10px. However, by experimentation I found that my window manager Sway (and likely also i3) has a hard-coded minimum height of 60px and minimum width of 100px....
Hi. I’ve been using powerlevel10k for a long time, but a few days ago, I decided I wanted to customize it a bit. I opened the .p10k.zsh file, and I was shocked. It’s really massive, with TONS of options. I’ve been digging through for a few hours already, and it’s absolutely amazing how much you can customize it without...
<span style="color:#323232;"># Prompt
</span><span style="color:#323232;"># "Make it simple, just the dollar sign"
</span><span style="color:#323232;"># "Say no more, fam"
</span><span style="color:#323232;"># - if error code is not 0, then prepend [N] where N is the error code
</span><span style="color:#323232;"># - if user is root, use red and #
</span><span style="color:#323232;">blue='e[34m'
</span><span style="color:#323232;">red='e[31m'
</span><span style="color:#323232;">bold='e[1m'
</span><span style="color:#323232;">reset='e[0m'
</span><span style="color:#323232;">PS1='$( status=$?; [ $status -ne 0 ] && echo "[$status] ")['"$blue""$bold"']$['"$reset"'] '
</span><span style="color:#323232;">
</span><span style="color:#323232;">if [[ $EUID -eq 0 ]]; then
</span><span style="color:#323232;"> PS1='$( status=$?; [ $status -ne 0 ] && echo "[$status] ")['"$red""$bold"']#['"$reset"'] '
</span><span style="color:#323232;">fi
</span>
.inputrc:
<span style="color:#323232;"># vi mode, change to 'emacs' here if you prefer
</span><span style="color:#323232;">set editing-mode vi
</span><span style="color:#323232;">
</span><span style="color:#323232;"># vi INSERT prompt
</span><span style="color:#323232;">set vi-ins-mode-string "1e[30;44m2 INS 1e[0m2 "
</span><span style="color:#323232;">
</span><span style="color:#323232;"># vi NORMAL prompt
</span><span style="color:#323232;">set vi-cmd-mode-string "1e[30;47m2 NOR 1e[0m2 "
</span>
Thanks! I guess yas-bdsm is more of a minimal, “bring your own compiler” project. You end up with a folder for your dotfiles, and it’s up to you to decide how to put stuff there.
[Solved] Window manager with no (or very small) minimum window size?
I need extremely small tiling windows, say something with only a width/height of 10px. However, by experimentation I found that my window manager Sway (and likely also i3) has a hard-coded minimum height of 60px and minimum width of 100px....
[Question] Which shell prompt do you use and why?
Hi. I’ve been using powerlevel10k for a long time, but a few days ago, I decided I wanted to customize it a bit. I opened the .p10k.zsh file, and I was shocked. It’s really massive, with TONS of options. I’ve been digging through for a few hours already, and it’s absolutely amazing how much you can customize it without...
How Upgrading Node Broke My Build but Saved My Marriage (sebastiancarlos.com)
ColorCat - Render Hex Colors in your Terminal like an IDE (www.youtube.com)
Source code...
Cross-app URL aliases (like shell aliases) powered by Nginx. (www.youtube.com)
Source code:...
How to write a 'tar' command (lemmy.sdf.org)
My Worst Tech Interview Experience (sebastiancarlos.com)
Custom, interoperable info and man commands (www.youtube.com)
Source code...
Diff like a boss! (custom Bash commands) (www.youtube.com)
Source code...
GCC embraces web technologies with one (1) line of CSS.
Among the 15~ million lines of codes in the GCC source code, there is a single CSS line....
What happens when you create a Linux user? (www.youtube.com)
Source code: gist.github.com/…/1a5b04099b750f5a15c77c8cb4f03fc…...
yas-bdsm: Yet Another Stow-Based Dotfiles System Manager (github.com)
Are Terminal Multiplexers a Fad? (sebastiancarlos.com)