Compare commits
2 commits
b045fcc5ad
...
4f31131470
Author | SHA1 | Date | |
---|---|---|---|
4f31131470 | |||
c65a17c9c7 |
3 changed files with 4 additions and 8 deletions
|
@ -39,9 +39,7 @@
|
||||||
background-color: $green;
|
background-color: $green;
|
||||||
color: $background;
|
color: $background;
|
||||||
|
|
||||||
padding-top: 4px;
|
padding-top: 1px;
|
||||||
padding-right: 2px;
|
|
||||||
padding-left: 2px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,15 +46,15 @@
|
||||||
(button
|
(button
|
||||||
:vexpand false
|
:vexpand false
|
||||||
:onclick "playerctl previous"
|
:onclick "playerctl previous"
|
||||||
:class "previous" " ⏪︎")
|
:class "previous" "")
|
||||||
(button
|
(button
|
||||||
:vexpand false
|
:vexpand false
|
||||||
:onclick "playerctl play-pause"
|
:onclick "playerctl play-pause"
|
||||||
:class "playpause" "${music_info.status == "Playing" ? "⏸︎" : "⏵︎"}")
|
:class "playpause" "${music_info.status == "Playing" ? "" : " "}")
|
||||||
(button
|
(button
|
||||||
:vexpand false
|
:vexpand false
|
||||||
:onclick "playerctl next"
|
:onclick "playerctl next"
|
||||||
:class "next" " ⏩︎")
|
:class "next" "")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
@ -27,11 +27,9 @@
|
||||||
:initial "first"
|
:initial "first"
|
||||||
:run-while {timer-state == "pause"}
|
:run-while {timer-state == "pause"}
|
||||||
`if [ "$(eww get timer-pause-period)" == "first" ]; then
|
`if [ "$(eww get timer-pause-period)" == "first" ]; then
|
||||||
mpv ~/.local/share/sfx/uplifting-flute.wav &
|
|
||||||
eww update timer-start-time=$(date +%s)
|
eww update timer-start-time=$(date +%s)
|
||||||
echo next
|
echo next
|
||||||
else
|
else
|
||||||
mpv ~/.local/share/sfx/uplifting-flute.wav &
|
|
||||||
notify-send -i ~/Images/Icons/moai.jpg "Pause period over" "Back to grinding we go."
|
notify-send -i ~/Images/Icons/moai.jpg "Pause period over" "Back to grinding we go."
|
||||||
eww update timer-state=work
|
eww update timer-state=work
|
||||||
echo first
|
echo first
|
||||||
|
|
Loading…
Reference in a new issue