Automatically import numpy and sympy when starting python shell

This commit is contained in:
Andreas Tsouchlos 2024-08-25 15:46:42 +02:00
parent 92d2e7118a
commit b7fa096c90

View File

@ -18,8 +18,7 @@ bindsym Control+Mod1+l exec $lock
bindsym Print exec grim -g "$(slurp -d)" - | wl-copy
bindsym $mod+p exec kitty -e python
bindsym $mod+p exec kitty -e /usr/bin/expect -c "spawn python; expect \\"*>>> \\"; send \\"import numpy as np\n\\"; send \\"import sympy as sp\n\\"; interact"
bindsym $mod+Return exec $term
bindsym $mod+Shift+q kill
bindsym $mod+d exec $menu