Compare commits

..

No commits in common. "de4acf9f95bfe65d03d45231afc9e510ae5d0a7a" and "003933c2efd387a2528a6047d471cfb4081076c8" have entirely different histories.

6 changed files with 11 additions and 66 deletions

View File

@ -3,8 +3,6 @@
{{- $email := promptStringOnce . "email" "Email address for Git" -}}
{{- $fullname := promptStringOnce . "email" "Full name for Git" -}}
mode = "symlink"
[data]
systemprofile = {{ $systemprofile | quote }}
email = {{ $email | quote }}

View File

@ -10,4 +10,3 @@
[ -x {{ $fish_path }} ] && export SHELL={{ $fish_path }}
[[ -z $DISPLAY && $XDG_VTNR -eq 2 ]] && exec startx
[[ -z $WAYLAND_DISPLAY && $XDG_VTNR -eq 1 ]] && exec niri-session
exec "$SHELL"

View File

@ -14,7 +14,3 @@ border="777777aa"
[border]
width=2
radius=0
[key-bindings]
cancel="Control+C"
execute="Return Escape"

View File

@ -22,28 +22,21 @@
},
"clock": {
"format": "{:%H:%M}",
"tooltip-format": "{:%a %b %d, %Y (%Z / UTC%z)}",
"tooltip": true,
},
"network": {
"format-wifi": "{signalStrength}% ",
"format-disconnected": "⚠",
"max-length": 20
},
"inhibitor": {
"format": "{icon} ",
"format-icons": {
"activated": "",
"deactivated": ""
},
"what": "idle",
"format-wifi": "⇌",
"format-disconnected": "⚠"
},
"mpris": {
"title-len": 65,
"album-len": 0,
"dynamic-len": 65,
"dynamic-order": ["artist", "title"],
"format": "{dynamic} ♫",
"format-paused": "{dynamic}",
"format": "{dynamic} {status_icon}",
"format-paused": "{dynamic} {status_icon}",
"status-icons": {
"playing": "✗",
"paused": "•"
},
}
}

View File

@ -1,48 +1,7 @@
"""
bashrc but for Python
Runs on both Python and IPython.
"""
from os import environ
print(f"\nUsing PYTHONSTARTUP file: {environ.get("PYTHONSTARTUP")}")
print("Read this file for information about custom macros/utilities.")
ipy = None
try:
from IPython.core.getipython import get_ipython
ipy = get_ipython()
except ImportError:
pass
def math_mode():
from sympy import init_session, Rational, pi
from sympy import init_session, Rational
init_session()
global R
R = Rational
# eval last line
if ipy:
ipy.define_macro("ev", "N(_)")
global radians
def radians(angle):
return angle * 2 * pi / 360
def data_mode():
try:
import numpy as np
except ImportError:
pass
try:
import pandas as pd
except ImportError:
pass
try:
import matplotlib.pyplot as plt
except ImportError:
pass
except ImportError:
pass