all repos — dotfiles @ 50de8cf7a0d0e7bf47235bee259fb89d1d00bb57

linux dotfiles

update bashrc, alacrity config
Prithu Goswami pg@prithu.dev
Sat, 12 Nov 2022 21:58:52 +0530
commit

50de8cf7a0d0e7bf47235bee259fb89d1d00bb57

parent

65ae9b606c2872581b1de848ba3a94adfa6f6ce0

3 files changed, 9 insertions(+), 4 deletions(-)

jump to
M bin/scripts/timesheetctlbin/scripts/timesheetctl

@@ -1,5 +1,5 @@

#!/bin/sh -ts_dir="$HOME/docs/org/comono/inspera/timesheets" +ts_dir="$HOME/docs/org/projects/comono/timesheets" ts_file="$ts_dir/timesheet-`date +%Y%m`.csv" make_timesheet() { last_day="$(cal `date '+%m %Y'` | head -n -1 | tail -1 | awk '{print $NF}')"

@@ -27,7 +27,7 @@ ts_summary() {

hr_spent="$(awk -F';' '{ sum+=$2 } END {print sum}' $ts_file)" last_day="$(cal `date '+%m %Y'` | head -n -1 | tail -1 | awk '{print $NF}')" days_left="$(expr $last_day - `date +%d`)" - hr_left="$(expr 160 - $hr_spent)" + hr_left="$(expr 136 - $hr_spent)" avg_hrs="$(awk "BEGIN {printf \"%.2f\", $hr_left/$days_left;exit}")" echo -e "Hours put in:\t\t$hr_spent" echo -e "Days Left:\t\t$days_left"
M config/alacritty/alacritty.ymlconfig/alacritty/alacritty.yml

@@ -117,8 +117,9 @@ # Default:

# - (macOS) Menlo # - (Linux/BSD) monospace # - (Windows) Consolas - # family: DejaVu Sans Mono - family: JetBrainsMono Nerd Font + # family: JetBrainsMono Nerd Font + # family: DejaVuSansMono Nerd Font + family: Hack # The `style` can be specified to pick a specific face. #style: Regular

@@ -748,6 +749,7 @@ # If the same trigger is assigned to multiple actions, all of them are executed

# in the order they were defined in. key_bindings: - { key: V, mods: Alt, action: Paste } + - { key: C, mods: Alt, action: Copy } #- { key: Paste, action: Paste } #- { key: Copy, action: Copy } #- { key: L, mods: Control, action: ClearLogNotice }
M home/.bashrchome/.bashrc

@@ -77,6 +77,8 @@ }

alias es="vim +$ '+norm zz' $HOME/docs/org/snippets.md" alias eb="vim $HOME/docs/org/bookmarks/index.md" +alias eo="vim $HOME/docs/org/" +alias en="vim $HOME/docs/org/notes/" alias colemak="setxkbmap -layout 'us,in' -variant colemak, -option 'grp:shifts_toggle' -option 'ctrl:nocaps'" alias qwerty="setxkbmap -layout 'us,in' -option 'grp:shifts_toggle' -option 'ctrl:nocaps'" alias cfi="vim ~/.config/i3/config"

@@ -94,6 +96,7 @@ alias ch="ping 8.8.8.8"

alias yv="youtube-viewer" alias mkddir="mkdir `date +%d-%m-%Y`" alias thot="vim ~/docs/org/thoughts/`date +%s`" +alias qn="cd ~/docs/org/notes/quick/ && vim `date +%s`.md" alias tt="transmission-remote" # alias yw="mpv --ytdl-format=\"best[height<=480]\"" alias yw="mpv --ytdl-format=\"bestvideo[height<=480]+bestaudio/best[height<=480]\""