Compare commits
6 Commits
8875a7c219
...
f261b58ce6
Author | SHA1 | Date |
---|---|---|
stupidcomputer | f261b58ce6 | |
stupidcomputer | b94b9e8f73 | |
stupidcomputer | 82636ae45f | |
stupidcomputer | b112ef7f87 | |
stupidcomputer | 5f32ddeb26 | |
stupidcomputer | ab145f8294 |
|
@ -25,15 +25,26 @@ hist() {
|
||||||
}
|
}
|
||||||
|
|
||||||
search() {
|
search() {
|
||||||
res=$(find /home/usr/ /home/usr/doc/ \
|
if [ "$1" = '-a' ]; then
|
||||||
-mindepth 1 \
|
res=$(find /home/usr/ /home/usr/doc/ \
|
||||||
-not -path '*/.*' \
|
-mindepth 1 \
|
||||||
-not -path './Mail/*' \
|
-not -path '*/.*' \
|
||||||
-not -path './vdir/*' \
|
-not -path './Mail/*' \
|
||||||
-not -path '*venv*' \
|
-not -path './vdir/*' \
|
||||||
-not -path '*node_modules*' \
|
-not -path '*venv*' \
|
||||||
-not -path '*__pycache__*' \
|
-not -path '*node_modules*' \
|
||||||
-type d | cut -c 11- | fzy)
|
-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"
|
[ -n "$res" ] && cd /home/usr/"$res"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,9 +2,11 @@
|
||||||
[[home]]
|
[[home]]
|
||||||
path = "~/vdir/calendar/personal/edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0"
|
path = "~/vdir/calendar/personal/edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0"
|
||||||
color = dark green
|
color = dark green
|
||||||
|
|
||||||
[[band]]
|
[[band]]
|
||||||
path = "~/vdir/calendar/band"
|
path = "~/vdir/calendar/band"
|
||||||
color = dark green
|
color = light cyan
|
||||||
|
|
||||||
[locale]
|
[locale]
|
||||||
timeformat = %H:%M
|
timeformat = %H:%M
|
||||||
dateformat = %Y-%m-%d
|
dateformat = %Y-%m-%d
|
||||||
|
|
|
@ -14,6 +14,4 @@ def write_history():
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
print("laskdjflaskfjd")
|
|
||||||
|
|
||||||
atexit.register(write_history)
|
atexit.register(write_history)
|
||||||
|
|
|
@ -84,11 +84,21 @@ case "$(hostname)" in
|
||||||
sshfs usr@192.168.1.120:/home/usr/doc $HOME/.cache/mount_point
|
sshfs usr@192.168.1.120:/home/usr/doc $HOME/.cache/mount_point
|
||||||
ln -sf $HOME/.cache/mount_point $HOME/doc
|
ln -sf $HOME/.cache/mount_point $HOME/doc
|
||||||
|
|
||||||
rm $HOME/.thunderbird
|
rm $HOME/.thunderbird # see previous comment
|
||||||
mkdir -p $HOME/.cache/mount_point3
|
mkdir -p $HOME/.cache/mount_point3
|
||||||
sshfs usr@192.168.1.120:/home/usr/.thunderbird $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
|
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")
|
"x230t")
|
||||||
echo "x230t"
|
echo "x230t"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
"regular")
|
"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 07:40 08:28 Spanish I H
|
||||||
khal new -a home $2 08:34 09:21 AP Human Geography
|
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:27 09:52 SAIL
|
||||||
|
@ -13,14 +14,15 @@ case $1 in
|
||||||
khal new -a home $2 13:59 14:47 Algebra II H
|
khal new -a home $2 13:59 14:47 Algebra II H
|
||||||
;;
|
;;
|
||||||
"late")
|
"late")
|
||||||
khal new -a home $2 08:40 08:28 Spanish I H
|
khal new -a home $2 07:40 07:41 Depart
|
||||||
khal new -a home $2 08:34 09:21 AP Human Geography
|
khal new -a home $2 08:25 09:06 Spanish I H
|
||||||
khal new -a home $2 09:27 09:52 SAIL
|
khal new -a home $2 09:12 09:52 AP Human Geography
|
||||||
khal new -a home $2 09:58 10:45 Symphonic Band
|
khal new -a home $2 09:58 10:23 SAIL
|
||||||
khal new -a home $2 10:51 11:38 English I H
|
khal new -a home $2 10:29 11:09 Symphonic Band
|
||||||
khal new -a home $2 11:38 12:07 Lunch
|
khal new -a home $2 11:15 11:55 English I H
|
||||||
khal new -a home $2 12:13 13:00 Biology I H
|
khal new -a home $2 11:55 12:28 Lunch
|
||||||
khal new -a home $2 13:06 13:53 Study Hall
|
khal new -a home $2 12:34 13:14 Biology I H
|
||||||
khal new -a home $2 13:59 14:47 Algebra II 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
|
esac
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/python/pythonrc" = {
|
".config/python/pythonrc.py" = {
|
||||||
source = ../../.config/python/pythonrc.py;
|
source = ../../.config/python/pythonrc.py;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
./tridactyl
|
./tridactyl
|
||||||
./zathura
|
./zathura
|
||||||
./wallpapers
|
./wallpapers
|
||||||
./firefox
|
|
||||||
./emacs
|
|
||||||
./vdirsyncer
|
./vdirsyncer
|
||||||
./khal
|
./khal
|
||||||
./isync
|
./isync
|
||||||
|
|
Loading…
Reference in New Issue