summaryrefslogtreecommitdiff
path: root/.aliases
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-10-16 09:50:22 -0500
committerluxagraf <sng@luxagraf.net>2024-10-16 09:50:22 -0500
commit5bbe6a566b85ad838a31ea8ee0d120bbeb460a1e (patch)
tree74222e47e408937dbe93640c956378f6c1d7002a /.aliases
parentd2e87e2d9f8ee2fd014087dafdc8c7cbd229a088 (diff)
added jrnl shortcuts
Diffstat (limited to '.aliases')
-rw-r--r--.aliases24
1 files changed, 22 insertions, 2 deletions
diff --git a/.aliases b/.aliases
index 73d47ba..fe380b4 100644
--- a/.aliases
+++ b/.aliases
@@ -20,6 +20,23 @@ alias lsh='ls -lh'
alias la='ls -lah --group-directories-first'
alias count='ls -l | wc -l'
alias sizes=' du --summarize --human-readable *'
+alias t='tre -l 1'
+
+# calendars
+# year view wired
+alias kwy="khal list -a Wired today 365d"
+alias kww="khal list -a Wired today 7d"
+
+# journals (https://jrnl.sh/en/stable/)
+alias j="jrnl"
+alias jl="jrnl -j log"
+#search jrnl
+alias js="jrnl -r -s"
+alias jw="jrnl -j wired"
+#pull all urls out of wired jrnl
+alias jwl="j -j wired --short | urlscan"
+#search wired jrnl
+alias jws="jrnl -j wired -r -s"
# cd
alias ...='cd ../../../'
@@ -45,8 +62,12 @@ alias g="git "
alias gs="git status"
alias gc="git commit -S "
alias gl="git log"
+alias gp="git pull"
alias ga="git add"
+alias gm="git mv"
alias gaa="git annex add"
+alias gafk="git annex fsck -q"
+alias gas="git annex sync"
#apps
alias music='ncmpcpp'
@@ -101,10 +122,9 @@ alias watchtraffic="nload wlp3s0"
alias mt="vnstat -m"
alias mntHFS="sudo mount -t hfsplus -o force,rw"
-alias j="jrnl"
# get battery info:
-alias charge='upower -i /org/freedesktop/UPower/devices/battery_BAT1 | egrep "time to empty|percentage"'
+alias charge='upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E "time to empty|percentage"'
alias gpphoto="~/./bin/download-photos-gopro.py /mnt/card/DCIM/100GOPRO/"
alias gpvid="~/./bin/download-videos-gopro.py /mnt/card/DCIM/100GOPRO/"