Compare commits

..

6 Commits

Author SHA1 Message Date
stupidcomputer f261b58ce6 remove firefox and emacs from x11.nix 2024-04-08 11:50:11 -05:00
stupidcomputer b94b9e8f73 update disp to allow mlg to synchronize ~/Mail and ~/vdir
change builds/utils/sh/disp to allow mlg to mirror ~/Mail and ~/vdir
from x230t.
2024-04-08 11:43:24 -05:00
stupidcomputer 82636ae45f update python installation configuration
some changes:
- move pythonrc to be copied to ~/.config/python/pythonrc*.py*, instead
  of ~/.config/python/pythonrc.py
- remove spurious print statement from pythonrc.py
2024-04-08 11:39:48 -05:00
stupidcomputer b112ef7f87 modify khal configuration: modify spacing and change calendar color 2024-04-08 09:03:45 -05:00
stupidcomputer 5f32ddeb26 update search shell function to search current directory by default
instead of searching ~/doc, search the current directory. the old
functionality can be restored by passing -a to the function.
2024-04-08 08:42:36 -05:00
stupidcomputer ab145f8294 update khalmacs to reflect schedules 2024-04-08 08:42:03 -05:00
7 changed files with 47 additions and 26 deletions

View File

@ -25,6 +25,7 @@ hist() {
}
search() {
if [ "$1" = '-a' ]; then
res=$(find /home/usr/ /home/usr/doc/ \
-mindepth 1 \
-not -path '*/.*' \
@ -34,6 +35,16 @@ search() {
-not -path '*node_modules*' \
-not -path '*__pycache__*' \
-type d | cut -c 11- | fzy)
else
res=$(find $(pwd) \
-mindepth 1 \
-not -path '*/.*' \
-not -path './Mail/*' \
-not -path './vdir/*' \
-not -path '*venv*' \
-not -path '*node_modules*' \
-not -path '*__pycache__*' \
-type d | cut -c 11- | fzy)
fi
[ -n "$res" ] && cd /home/usr/"$res"
}

View File

@ -2,9 +2,11 @@
[[home]]
path = "~/vdir/calendar/personal/edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0"
color = dark green
[[band]]
path = "~/vdir/calendar/band"
color = dark green
color = light cyan
[locale]
timeformat = %H:%M
dateformat = %Y-%m-%d

View File

@ -14,6 +14,4 @@ def write_history():
except OSError:
pass
print("laskdjflaskfjd")
atexit.register(write_history)

View File

@ -84,11 +84,21 @@ case "$(hostname)" in
sshfs usr@192.168.1.120:/home/usr/doc $HOME/.cache/mount_point
ln -sf $HOME/.cache/mount_point $HOME/doc
rm $HOME/.thunderbird
rm $HOME/.thunderbird # see previous comment
mkdir -p $HOME/.cache/mount_point3
sshfs usr@192.168.1.120:/home/usr/.thunderbird $HOME/.cache/mount_point3
ln -sf $HOME/.cache/mount_point3 $HOME/.thunderbird
rm $HOME/Mail
mkdir -p $HOME/.cache/mount_point4
sshfs usr@192.168.1.120:/home/usr/Mail $HOME/.cache/mount_point4
ln -sf $HOME/.cache/mount_point4 $HOME/Mail
rm $HOME/vdir
mkdir -p $HOME/.cache/mount_point5
sshfs usr@192.168.1.120:/home/usr/vdir $HOME/.cache/mount_point5
ln -sf $HOME/.cache/mount_point5 $HOME/vdir
;;
"x230t")
echo "x230t"

View File

@ -2,6 +2,7 @@
case $1 in
"regular")
khal new -a home $2 07:00 07:01 Depart
khal new -a home $2 07:40 08:28 Spanish I H
khal new -a home $2 08:34 09:21 AP Human Geography
khal new -a home $2 09:27 09:52 SAIL
@ -13,14 +14,15 @@ case $1 in
khal new -a home $2 13:59 14:47 Algebra II H
;;
"late")
khal new -a home $2 08:40 08:28 Spanish I H
khal new -a home $2 08:34 09:21 AP Human Geography
khal new -a home $2 09:27 09:52 SAIL
khal new -a home $2 09:58 10:45 Symphonic Band
khal new -a home $2 10:51 11:38 English I H
khal new -a home $2 11:38 12:07 Lunch
khal new -a home $2 12:13 13:00 Biology I H
khal new -a home $2 13:06 13:53 Study Hall
khal new -a home $2 13:59 14:47 Algebra II H
khal new -a home $2 07:40 07:41 Depart
khal new -a home $2 08:25 09:06 Spanish I H
khal new -a home $2 09:12 09:52 AP Human Geography
khal new -a home $2 09:58 10:23 SAIL
khal new -a home $2 10:29 11:09 Symphonic Band
khal new -a home $2 11:15 11:55 English I H
khal new -a home $2 11:55 12:28 Lunch
khal new -a home $2 12:34 13:14 Biology I H
khal new -a home $2 13:20 14:00 Study Hall
khal new -a home $2 14:06 14:47 Algebra II H
;;
esac

View File

@ -2,7 +2,7 @@
{
home.file = {
".config/python/pythonrc" = {
".config/python/pythonrc.py" = {
source = ../../.config/python/pythonrc.py;
};
};

View File

@ -8,8 +8,6 @@
./tridactyl
./zathura
./wallpapers
./firefox
./emacs
./vdirsyncer
./khal
./isync