Compare commits
No commits in common. "de4acf9f95bfe65d03d45231afc9e510ae5d0a7a" and "003933c2efd387a2528a6047d471cfb4081076c8" have entirely different histories.
de4acf9f95
...
003933c2ef
@ -3,8 +3,6 @@
|
|||||||
{{- $email := promptStringOnce . "email" "Email address for Git" -}}
|
{{- $email := promptStringOnce . "email" "Email address for Git" -}}
|
||||||
{{- $fullname := promptStringOnce . "email" "Full name for Git" -}}
|
{{- $fullname := promptStringOnce . "email" "Full name for Git" -}}
|
||||||
|
|
||||||
mode = "symlink"
|
|
||||||
|
|
||||||
[data]
|
[data]
|
||||||
systemprofile = {{ $systemprofile | quote }}
|
systemprofile = {{ $systemprofile | quote }}
|
||||||
email = {{ $email | quote }}
|
email = {{ $email | quote }}
|
||||||
|
@ -10,4 +10,3 @@
|
|||||||
[ -x {{ $fish_path }} ] && export SHELL={{ $fish_path }}
|
[ -x {{ $fish_path }} ] && export SHELL={{ $fish_path }}
|
||||||
[[ -z $DISPLAY && $XDG_VTNR -eq 2 ]] && exec startx
|
[[ -z $DISPLAY && $XDG_VTNR -eq 2 ]] && exec startx
|
||||||
[[ -z $WAYLAND_DISPLAY && $XDG_VTNR -eq 1 ]] && exec niri-session
|
[[ -z $WAYLAND_DISPLAY && $XDG_VTNR -eq 1 ]] && exec niri-session
|
||||||
exec "$SHELL"
|
|
||||||
|
@ -14,7 +14,3 @@ border="777777aa"
|
|||||||
[border]
|
[border]
|
||||||
width=2
|
width=2
|
||||||
radius=0
|
radius=0
|
||||||
|
|
||||||
[key-bindings]
|
|
||||||
cancel="Control+C"
|
|
||||||
execute="Return Escape"
|
|
||||||
|
@ -22,28 +22,21 @@
|
|||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%H:%M}",
|
"format": "{:%H:%M}",
|
||||||
"tooltip-format": "{:%a %b %d, %Y (%Z / UTC%z)}",
|
|
||||||
"tooltip": true,
|
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"format-wifi": "{signalStrength}% ",
|
"format-wifi": "⇌",
|
||||||
"format-disconnected": "⚠",
|
"format-disconnected": "⚠"
|
||||||
"max-length": 20
|
|
||||||
},
|
|
||||||
"inhibitor": {
|
|
||||||
"format": "{icon} ",
|
|
||||||
"format-icons": {
|
|
||||||
"activated": "",
|
|
||||||
"deactivated": ""
|
|
||||||
},
|
|
||||||
"what": "idle",
|
|
||||||
},
|
},
|
||||||
"mpris": {
|
"mpris": {
|
||||||
"title-len": 65,
|
"title-len": 65,
|
||||||
"album-len": 0,
|
"album-len": 0,
|
||||||
"dynamic-len": 65,
|
"dynamic-len": 65,
|
||||||
"dynamic-order": ["artist", "title"],
|
"dynamic-order": ["artist", "title"],
|
||||||
"format": "{dynamic} ♫",
|
"format": "{dynamic} {status_icon}",
|
||||||
"format-paused": "{dynamic}",
|
"format-paused": "{dynamic} {status_icon}",
|
||||||
|
"status-icons": {
|
||||||
|
"playing": "✗",
|
||||||
|
"paused": "•"
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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:
|
try:
|
||||||
from IPython.core.getipython import get_ipython
|
from sympy import init_session, Rational
|
||||||
ipy = get_ipython()
|
|
||||||
except ImportError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
def math_mode():
|
|
||||||
from sympy import init_session, Rational, pi
|
|
||||||
|
|
||||||
init_session()
|
init_session()
|
||||||
|
|
||||||
global R
|
|
||||||
R = Rational
|
R = Rational
|
||||||
|
except ImportError:
|
||||||
# eval last line
|
pass
|
||||||
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user