Maintainer: Brian Wilson [email protected]
GIT: ssh://[email protected]:wiltech/fulgur.git
======
Fulgur Workstation is a light-weight highly configurable workstation platform for software and networking development.
#!/bin/zsh | |
# Simple function to get weather from command line via curl | |
# To use either add to zshrc/bashrc, or run the command `source weather.zsh` | |
export LOC="kalamazoo" | |
# If no location is provided, weather for $LOC will be returned | |
function wthr() { | |
if [ -z "$1" ]; then | |
echo "$(curl -silent wttr.in/$LOC)" |
#!/bin/bash | |
# dLocker.sh by Brian Wilson | |
# | |
# Quick and dirty prototype for a directory locker | |
# | |
# Initialization Example: | |
# $ cd dLocker | |
# $ ls | |
# dLocker/ dLocker.sh |
======
Fulgur Workstation is a light-weight highly configurable workstation platform for software and networking development.
diff --git a/colors/OceanicNext.vim b/colors/OceanicNext.vim | |
index 1c496b2..cda25f9 100644 | |
--- a/colors/OceanicNext.vim | |
+++ b/colors/OceanicNext.vim | |
@@ -53,10 +53,10 @@ function! <sid>hi(group, fg, bg, attr, attrsp) | |
exec "hi " . a:group . " guifg=" . a:fg[0] | |
exec "hi " . a:group . " ctermfg=" . a:fg[1] | |
endif | |
- if !empty(a:bg) | |
- exec "hi " . a:group . " guibg=" . a:bg[0] |
# | |
# Run-time configuration file for bash dialog | |
# Path: /etc/dialogrc | |
# | |
# Types of values: | |
# | |
# Number - <number> | |
# String - "string" | |
# Boolean - <ON|OFF> | |
# Attribute - (foreground,background,highlight?) |
################################# | |
# | |
# Backend | |
# | |
################################# | |
# Backend to use: "xrender" or "glx". | |
# GLX backend is typically much faster but depends on a sane driver. | |
backend = "xrender"; |
# This function calls the script below when loaded by | |
# the shell inside of neovim. It must be placed somewhere in | |
# your default shell's rc file e.g. ~/.zshrc | |
neovim_autocd() { | |
[[ $NVIM_LISTEN_ADDRESS ]] && neovim-autocd.py | |
} | |
chpwd_functions+=( neovim_autocd ) |
if [ "$USER" = "root" ]; then CARETCOLOR="red"; else CARETCOLOR="yellow"; fi | |
local return_code="%(?..%{$fg_bold[red]%}:( %?%{$reset_color%})" | |
PROMPT=' | |
[ %{$fg_bold[orange]%}%n%{$reset_color%}@%{$reset_color%}%{$fg_bold[red]%}%m%{$reset_color%} ]:%{${fg_bold[green]}%}%~%{$reset_color%}$(git_prompt_info) | |
%{${fg[$CARETCOLOR]}%}➜ %{${reset_color}%}' | |
RPS1='${return_code} %D - %*' |
#!/bin/local/bash | |
# cfan.sh | |
# Manaual control over fans in PfSense (FreeBSD) on a Dell PowerEdge R210 ii system | |
# Original script: https://www.garron.me/en/bits/specify-editor-crontab-file.html | |
# Install: | |
# sudo pkg install bash && sudo pkg install ipmitool | |
# Add ipmi_load="YES" to /boot/loader.conf | |
# Add this script to /usr/bin/ | |
# Add * * * * * /usr/local/bin/bash /usr/bin/cfan.sh to cron file with sudo crontab -e | |
# Reboot |