1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-16 11:52:47 +00:00

Fish: New timer

This commit is contained in:
Phantop 2019-06-29 19:14:54 -04:00
parent f5b8854cac
commit 28e6afe3f1
2 changed files with 15 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# PATHS #
set -gx ANDROID_HOME $D/Installs/Android/sdk
set fish_user_paths $D/Tools/bin $ANDROID_HOME/platform-tools /sbin /bin /usr/sbin /usr/bin
set fish_function_path $D/Games/Minecraft/Game/functions $fish_function_path
set fish_function_path $fish_function_path $D/Games/Minecraft/Game/functions
# PROGRAM SETTINGS #
set -gx EDITOR nvim

View file

@ -0,0 +1,14 @@
# Defined in /tmp/fish.HpGyIZ/timer.fish @ line 2
function timer
if tty | grep 'not a tty'
qb / ":quickmark-load timer";
else
while true
for i in (seq -w 1200 -1 0)
echo (math -s0 $i/60):(math $i%60)
sleep 1
end
zenity --info --text=Time to take a break!
end
end
end