Compare commits
No commits in common. "dca6aeeefb1b24f373e712b02da013c38da5aa4c" and "9dc7c69ce2d3c777386d8505e49f7f1177af1461" have entirely different histories.
dca6aeeefb
...
9dc7c69ce2
6 changed files with 1 additions and 54 deletions
|
@ -187,7 +187,7 @@ bindsym $mod+r mode "resize"
|
|||
bar {
|
||||
position top
|
||||
|
||||
status_command ~/.config/sway/i3status-wrapper
|
||||
status_command i3status
|
||||
|
||||
status_edge_padding 6
|
||||
status_padding 0
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
. ~/.profile
|
||||
|
||||
i3status | while true; do
|
||||
read line
|
||||
json_array="$(echo $line | grep -F [{ | sed -e 's/^,//')"
|
||||
if test -z "$json_array"; then
|
||||
echo "$line"
|
||||
else
|
||||
zeit_obj='{"name":"zeit","instance":"zeit","markup":"none","full_text":"'$(zeit tracking --no-colors)'"}'
|
||||
json_array="$(echo $json_array | jq ". |= [$zeit_obj] + .")"
|
||||
echo "$json_array,"
|
||||
fi
|
||||
done
|
|
@ -26,10 +26,6 @@ blockquote {
|
|||
margin-left: 1em;
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
</style>
|
||||
"
|
||||
fi
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Forked from https://github.com/mrusme/zeit/blob/c07a40a3185091dda8ba9a3b81c1e017bfda609b/extras/zeit-waybar-wofi.sh
|
||||
|
||||
. ~/.profile
|
||||
|
||||
tracking="$(zeit tracking --no-colors)"
|
||||
|
||||
if echo "$tracking" | grep -q '^ ▶ tracking'; then
|
||||
zeit finish
|
||||
exit 0
|
||||
fi
|
||||
|
||||
selection="$(zeit list \
|
||||
--only-projects-and-tasks \
|
||||
--append-project-id-to-task \
|
||||
| fuzzel-run \
|
||||
--dmenu
|
||||
)"
|
||||
|
||||
task="$(echo $selection | pcregrep -io1 '└── (.+) \[.+')"
|
||||
project="$(echo $selection | pcregrep -io1 '.+\[(.+)\]')"
|
||||
if test "$task" = "" || "$project" = ""; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
zeit track -p "$project" -t "$task"
|
|
@ -1,6 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=toggle zeit time tracking
|
||||
Exec=zeit-fuzzel
|
||||
Terminal=false
|
||||
Type=Application
|
2
.profile
2
.profile
|
@ -7,8 +7,6 @@ ulimit -c unlimited
|
|||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$HOME/go/bin:$PATH"
|
||||
|
||||
export ZEIT_DB=~/Sync/zeit.db
|
||||
|
||||
export EDITOR=vis
|
||||
|
||||
export FZF_DEFAULT_OPTS='--color=light'
|
||||
|
|
Loading…
Reference in a new issue