...
 
Commits (3)
......@@ -6,7 +6,7 @@
@ignored_interfaces = ["virbr0", "lo"]
input = %x(ip -o -4 addr)
regex = /^\d:\s(\w+)\s+inet\s(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\/\d{1,2}\s.*$/
regex = /^\d+:\s(\w+)\s+inet\s(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\/\d{1,2}\s.*$/
Interface = Struct.new(:device, :addr)
interfaces = Array.new
......
......@@ -32,6 +32,7 @@
<a href="https://copr.fedorainfracloud.org/">copr</a>
<a href="https://fedoraproject.org/wiki/Fedora_Project_Wiki">wiki</a>
<a href="https://fedoramagazine.org/">magazine</a>
<a href="https://apps.fedoraproject.org/packages/">packages</a>
<br />
<span>Tools</span>
......
......@@ -35,7 +35,7 @@ Config {
-- Get current date
, Run Date "%a %d - %H:%M" "date" 10
-- Get the space left on / and /home
, Run DiskU [("/", "/: <free>"),("/home", "/h: <free>"),("/storage", "/str: <free>")]
, Run DiskU [("/", "/: <free>"),("/home", "/h: <free>"),("/srv/storage", "/str: <free>")]
[ "--Low" , "10"
, "--High" , "50"
, "--low" , "red"
......
......@@ -3,6 +3,18 @@
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
###
# Elixir, Erlang
#
if [[ -f $XDG_DATA_HOME/kerl/erlang/activate ]]; then
. $XDG_DATA_HOME/kerl/erlang/activate
fi
if [[ -f $XDG_DATA_HOME/kiex/elixirs/.default ]]; then
source $XDG_DATA_HOME/kiex/elixirs/.default
fi
###
# PATH
......
......@@ -33,3 +33,4 @@ MIX_HOME DEFAULT="${XDG_DATA_HOME}/mix"
HEX_HOME DEFAULT="${XDG_DATA_HOME}/hex"
TASKDATA DEFAULT="${XDG_DATA_HOME}/task"
TASKRC DEFAULT="${XDG_CONFIG_HOME}/task/taskrc"
KERL_BASE_DIR DEFAULT="${XDG_DATA_HOME}/kerl"