Skip to content
Snippets Groups Projects
Commit b5e983ad authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.bugfix

parent 29e833bd
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,10 @@ end
# sudo umount -l -f $mountdir
# rmdir $mountdir
# end
if test -d $HOME/tmp/h
cd $HOME/tmp/h
end
' > /tmp/.hs.fish
env RECOLIC_ENV_NAME=HSHELL fish --private -C 'source /tmp/.hs.fish'
......
......@@ -42,7 +42,7 @@ function play_alarm_once () {
"soft"*)
alarm_fish_vol=70% alarm_fish_file=/usr/share/sounds/freedesktop/stereo/alarm-clock-elapsed.oga alarm_fish_beep_once=1 alarm.fish 0
local counter=$(echo "$alarm_state" | cut -d ' ' -f 2)
if [[ "$counter" =~ "^[0-9]+$" ]]; then
if [[ "$counter" =~ ^[0-9]+$ ]]; then
if [[ "$counter" -le 1 ]]; then
alarm_state=hard
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment